Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix code style according to pep8 #155

Merged
merged 2 commits into from
Aug 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/import_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@
from github import Github
import os


class RVDImport:

def __init__(self):
# Authentication for user filing issue (must have read/write access to
# repository to add issue to)
try:
self.token = os.environ['GITHUB_TOKEN'] #ffb0d091869e647e3db4baa4d71dcb5c3c6a17d7
self.token = os.environ['GITHUB_TOKEN']
except KeyError:
print("Make sure that you've GITHUB_TOKEN exported")
exit(1)
# First create a Github instance:
# or using an access token
self.g = Github(self.token)


# def __init__(self, user, password):
# # TODO
# username = os.environ['GITHUB_USER']
Expand Down