We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 25ee4ad + 3ea1777 commit 009ccf9Copy full SHA for 009ccf9
services/datalad/datalad_service/common/github.py
@@ -12,14 +12,8 @@
12
def create_github_repo(dataset_path, dataset_id):
13
"""Setup a github sibling / remote."""
14
try:
15
- # raise exception if github exports are not enabled
16
if not DATALAD_GITHUB_EXPORTS_ENABLED:
17
- raise Exception(
18
- 'DATALAD_GITHUB_EXPORTS_ENABLED must be defined to create remote repos'
19
- )
20
-
21
- # this adds github remote to config and also creates repo
22
- return create_sibling_github(dataset_path, dataset_id)
+ return create_sibling_github(dataset_path, dataset_id)
23
except KeyError:
24
raise Exception(
25
'DATALAD_GITHUB_TOKEN and DATALAD_GITHUB_ORG must be defined to create remote repos'
0 commit comments