- Timestamp:
- Oct 14, 2019, 4:59:32 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ipp-259_genericise_backups/tools/backups/jira_backup.py
r40937 r40944 8 8 from backups.backup import Backup 9 9 10 DEFAULT_CONFIG_FILE = path.join(path.dirname(__file__), 'jira_backup.config')10 EXPECTED_CONFIG_FILE = path.join(path.dirname(__file__), './jira_backup.config') 11 11 12 12 13 13 class JiraBackup(Backup): 14 14 15 def __init__(self, config_file= DEFAULT_CONFIG_FILE):15 def __init__(self, config_file=EXPECTED_CONFIG_FILE): 16 16 self.load_config(config_file) 17 17 … … 69 69 nargs='?', 70 70 help='specify the location of a config that matches the ConfigSchema', 71 default= DEFAULT_CONFIG_FILE)71 default=EXPECTED_CONFIG_FILE) 72 72 73 73 return parser.parse_args()
Note:
See TracChangeset
for help on using the changeset viewer.
