mirror of
https://github.com/kennethreitz/clint.git
synced 2026-06-05 06:46:16 +00:00
fix args.py import error
args.sh fails
Traceback (most recent call last):
File "unicode.py", line 14, in <module>
from clint import args
ImportError: cannot import name args
This commit is contained in:
+3
-1
@@ -11,10 +11,12 @@ try:
|
||||
except:
|
||||
import simplejson as json
|
||||
|
||||
from clint import args
|
||||
from clint.arguments import Args
|
||||
from clint import piped_in
|
||||
from clint.textui import colored, puts, indent
|
||||
|
||||
args = Args()
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
puts('Test:')
|
||||
|
||||
Reference in New Issue
Block a user