Changeset 210
- Timestamp:
- 08/04/12 03:01:08 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
etherws/trunk/etherws.py
r209 r210 823 823 not args.target.startswith('wss://'): 824 824 raise ValueError('Invalid target URL scheme: %s' % args.target) 825 if not opts['user'] and opts['passwd']:826 raise ValueError('Authentication required but username empty')827 if opts['user'] and not opts['passwd']:828 opts['passwd'] = getpass.getpass('Client Password: ')825 if not opts['user'] and opts['passwd']: 826 raise ValueError('Authentication required but username empty') 827 if opts['user'] and not opts['passwd']: 828 opts['passwd'] = getpass.getpass('Client Password: ') 829 829 result = request(args, 'addPort', { 830 830 'type': args.iftype,
Note: See TracChangeset
for help on using the changeset viewer.