| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,6 @@ | |||
| 11 | 11 | import errno | |
| 12 | 12 | import getpass | |
| 13 | 13 | import json | |
| 14 | - import logging | ||
| 15 | 14 | import os | |
| 16 | 15 | import re | |
| 17 | 16 | import select | |
@@ -42,6 +41,7 @@ | |||
| 42 | 41 | def _get_log_date(): | |
| 43 | 42 | return datetime.datetime.isoformat(datetime.datetime.now()) | |
| 44 | 43 | ||
| 44 | + | ||
| 45 | 45 | def log_info(message): | |
| 46 | 46 | """ | |
| 47 | 47 | Log message (str) or messages (List[str]) to stdout | |
@@ -133,7 +133,7 @@ def mask_password(url, secret='*****'): | |||
| 133 | 133 | return url.replace(parsed.password, secret) | |
| 134 | 134 | ||
| 135 | 135 | ||
| 136 | - def parse_args(args = None): | ||
| 136 | + def parse_args(args=None): | ||
| 137 | 137 | parser = argparse.ArgumentParser(description='Backup a github account') | |
| 138 | 138 | parser.add_argument('user', | |
| 139 | 139 | metavar='USER', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments