aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/lib/cleanup.py
diff options
context:
space:
mode:
Diffstat (limited to 'sfc/lib/cleanup.py')
-rw-r--r--sfc/lib/cleanup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfc/lib/cleanup.py b/sfc/lib/cleanup.py
index 83eac3e..8c1f0d0 100644
--- a/sfc/lib/cleanup.py
+++ b/sfc/lib/cleanup.py
@@ -114,7 +114,7 @@ def cleanup(odl_ip=None, odl_port=None):
if __name__ == '__main__':
- if sys.argv > 2:
+ if len(sys.argv) > 2:
cleanup(sys.argv[1], sys.argv[2])
else:
cleanup()