From c621940b0fc58a9bf0ef5d938ab0a8eafacf3a1c Mon Sep 17 00:00:00 2001 From: aum <aum> Date: Sun, 15 Aug 2004 17:53:45 +0000 Subject: [PATCH] *** empty log message *** --- apps/stasher/python/src/stasher.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/stasher/python/src/stasher.py b/apps/stasher/python/src/stasher.py index 0bf8c7a6ea..99aada0d50 100644 --- a/apps/stasher/python/src/stasher.py +++ b/apps/stasher/python/src/stasher.py @@ -4110,6 +4110,8 @@ def main(): err("getref: bad argument count") usage() + res = client.getref() + if argc == 1: # try to open output file path = args[0] @@ -4121,7 +4123,6 @@ def main(): else: outfile = sys.stdout - res = client.getref() if res == None: err("Failed to retrieve node ref") sys.exit(1) -- GitLab