changeset 11:220a8a38dedd

Changed display strings a bit.
author Atul Varma <varmaa@toolness.com>
date Mon, 08 Dec 2008 15:41:38 -0800
parents 0220e43e5d8e
children 97fb91f12cb7
files kharon.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/kharon.py	Mon Dec 08 15:31:30 2008 -0800
+++ b/kharon.py	Mon Dec 08 15:41:38 2008 -0800
@@ -71,7 +71,7 @@
             try:
                 transid = int(arg)
             except ValueError:
-                print('Unknown transaction: %s' % arg)
+                print('Unknown transaction ID: %s' % arg)
                 sys.exit(-1)
             transactions.append(transid)
         if not transactions and config.nextid:
@@ -79,7 +79,7 @@
         for transid in transactions:
             dirname = dir_for_trans(transid)
             if not os.path.exists(dirname):
-                print('Transaction %d does not exist.' % transid)
+                print('Transaction ID %d does not exist.' % transid)
                 sys.exit(-1)
 
         transactions.sort(reverse=True)
@@ -122,7 +122,7 @@
         config.nextid = thisid + 1
         config.save()
 
-        print("Creating transaction %d." % thisid)
+        print('The transaction ID for this operation is %s.' % thisid)
 
         for source in files:
             if options.verbose: