diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2006-06-07 02:17:29 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2006-06-07 02:17:29 +0000 |
commit | 2ff7b9da07e194c78708b94dc5cf8d11347b96fd (patch) | |
tree | 3ae6a3d53016de883555e865d66b524b14deda1b /src | |
parent | c9a504f286f1888040641810a33148ccbe5ccf6f (diff) | |
download | bcfg2-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-x | src/sbin/bcfg2-info | 4 |
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: |