summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-06-07 02:17:29 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-06-07 02:17:29 +0000
commit2ff7b9da07e194c78708b94dc5cf8d11347b96fd (patch)
tree3ae6a3d53016de883555e865d66b524b14deda1b /src
parentc9a504f286f1888040641810a33148ccbe5ccf6f (diff)
downloadbcfg2-2ff7b9da07e194c78708b94dc5cf8d11347b96fd.tar.gz
bcfg2-2ff7b9da07e194c78708b94dc5cf8d11347b96fd.tar.bz2
bcfg2-2ff7b9da07e194c78708b94dc5cf8d11347b96fd.zip
Minor simplification of Jos's bcfg2-info patch
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1871 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rwxr-xr-xsrc/sbin/bcfg2-info4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info
index 5703d2a5e..7789b78da 100755
--- a/src/sbin/bcfg2-info
+++ b/src/sbin/bcfg2-info
@@ -21,7 +21,7 @@ def getInput():
except KeyboardInterrupt:
return ['']
except EOFError:
- return [None]
+ return ['quit']
def doShowentries(cmd, core):
'''show abstract configuration entries for a given host'''
@@ -180,8 +180,6 @@ if __name__ == '__main__':
time.sleep(0.5)
while True:
ucmd = getInput()
- if ucmd[0] == None:
- ucmd[0] = 'quit'
if ucmd[0] == 'debug':
break
else: