(key, arg)
| 250 | cfg.read(os.path.expanduser(read_default_file)) |
| 251 | |
| 252 | def _config(key, arg): |
| 253 | if arg: |
| 254 | return arg |
| 255 | try: |
| 256 | return cfg.get(read_default_group, key) |
| 257 | except Exception: |
| 258 | return arg |
| 259 | |
| 260 | user = _config("user", user) |
| 261 | password = _config("password", password) |