You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ran into a python error while testing backing up my organization's repositories.
# github-backup $ORGANIZATION --output-directory ./ --organization --token $GITHUB_ACCESS_TOKEN --all --private --fork --prefer-ssh --name-regex $REPO_NAME
Backing up user <REDACTED> to /root/github_backups
Retrieving repositories
Filtering repositories
Backing up repositories
Traceback (most recent call last):
File "/usr/local/bin/github-backup", line 885, in <module>
main()
File "/usr/local/bin/github-backup", line 880, in main
backup_repositories(args, output_directory, repositories)
File "/usr/local/bin/github-backup", line 555, in backup_repositories
lfs_clone=arg.lfs_clone)
NameError: global name 'arg' is not defined
It looks like there is a reference to an undefined variable in:
Ran into a python error while testing backing up my organization's repositories.
It looks like there is a reference to an undefined variable in:
Probably just a typo
arg
instead ofargs
. I tested changing this to args and the backup script worked great!The text was updated successfully, but these errors were encountered: