projects
/
mdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77ef667
)
Fix stupid error causing permanent exception
author
Frederic Massart
<fred@moodle.com>
Wed, 12 Jun 2013 03:01:26 +0000
(11:01 +0800)
committer
Frederic Massart
<fred@moodle.com>
Wed, 12 Jun 2013 03:01:26 +0000
(11:01 +0800)
lib/commands/run.py
patch
|
blob
|
history
diff --git
a/lib/commands/run.py
b/lib/commands/run.py
index
f4474f7
..
13b1114
100644
(file)
--- a/
lib/commands/run.py
+++ b/
lib/commands/run.py
@@
-89,7
+89,8
@@
class RunCommand(Command):
return
# Trigger error when script is missing
- self.argumentError('missing script name')
+ if not args.script:
+ self.argumentError('missing script name')
# Resolving instances
names = args.names