Commits

Marko Toplak  committed 56ba93b

Update scripts: warn if username and password are not passed.

  • Participants
  • Parent commits d8bea5b

Comments (0)

Files changed (1)

File server_update/common.py

 
 option, args = parser.parse_args()
 
+if not option.user or not option.password:
+    print "Pass -u username -p password!"
+    sys.exit(1)
+
 sf_server = serverfiles.ServerFiles(option.user, option.password)
 sf_local = Orange.utils.serverfiles