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