git://git.onelab.eu
/
tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
get rid of sequels of vs-based boxes
[tests.git]
/
system
/
utils.py
diff --git
a/system/utils.py
b/system/utils.py
index
d6938bf
..
cc03318
100644
(file)
--- a/
system/utils.py
+++ b/
system/utils.py
@@
-23,7
+23,7
@@
def pprint(message,spec,depth=2):
def system(command,background=False,silent=False):
- if
options.dry_run
:
+ if
getattr(options,'dry_run',None)
:
print 'dry_run:',command
return 0