gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r14511 - gauger


From: gnunet
Subject: [GNUnet-SVN] r14511 - gauger
Date: Thu, 24 Feb 2011 09:48:37 +0100

Author: grothoff
Date: 2011-02-24 09:48:37 +0100 (Thu, 24 Feb 2011)
New Revision: 14511

Modified:
   gauger/gauger-cli.py
Log:
fix

Modified: gauger/gauger-cli.py
===================================================================
--- gauger/gauger-cli.py        2011-02-24 03:05:37 UTC (rev 14510)
+++ gauger/gauger-cli.py        2011-02-24 08:48:37 UTC (rev 14511)
@@ -26,8 +26,12 @@
 import sys
 import os
 import subprocess
-import argparse
 
+if(sys.version_info[0] == 2 and sys.version_info[1] < 7):
+    import ap27 as arg_parser
+else:
+    import argparse as arg_parser
+
 def svnversion():
     p = subprocess.Popen("svnversion", shell=True,
       stdout=subprocess.PIPE, stderr=subprocess.PIPE)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]