Changeset 1754:56ba93b2b1e1 in orange-bioinformatics


Ignore:
Timestamp:
04/18/13 22:45:23 (12 months ago)
Author:
markotoplak
Branch:
default
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server_update/common.py

    r1721 r1754  
    1616option, args = parser.parse_args() 
    1717 
     18if not option.user or not option.password: 
     19    print "Pass -u username -p password!" 
     20    sys.exit(1) 
     21 
    1822sf_server = serverfiles.ServerFiles(option.user, option.password) 
    1923sf_local = Orange.utils.serverfiles 
Note: See TracChangeset for help on using the changeset viewer.