aboutsummaryrefslogtreecommitdiff
path: root/ghwt.py
diff options
context:
space:
mode:
Diffstat (limited to 'ghwt.py')
-rwxr-xr-xghwt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghwt.py b/ghwt.py
index bb0be70..d04cd3f 100755
--- a/ghwt.py
+++ b/ghwt.py
@@ -85,7 +85,7 @@ def install(sproj):
return unpack(sproj, branch, sproj_dir)
def run(args):
- if len(args) == 0 or args[0] == '-h' or args[0] == '--help':
+ if not args or args[0] == '-h' or args[0] == '--help':
print(sys.argv[0], 'list/install', 'package_name')
return 1
command = args[0]