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
more pretty-printing
[tests.git]
/
system
/
config_default.py
diff --git
a/system/config_default.py
b/system/config_default.py
index
ea51da6
..
d4d095e
100644
(file)
--- a/
system/config_default.py
+++ b/
system/config_default.py
@@
-619,7
+619,7
@@
def config (plc_specs, options):
return result
### for creating a sample config interactively
return result
### for creating a sample config interactively
-def sample_test_plc ():
+def sample_test_plc
_spec
():
class Void: pass
options = Void()
class Void: pass
options = Void()
@@
-629,7
+629,7
@@
def sample_test_plc ():
return config([], options)[0]
if __name__ == '__main__':
return config([], options)[0]
if __name__ == '__main__':
- s = sample_test_plc()
+ s = sample_test_plc
_spec
()
print 'Sample plc_spec has the following keys'
for k in sorted(s.keys()):
print k
print 'Sample plc_spec has the following keys'
for k in sorted(s.keys()):
print k