mirror of
https://github.com/kennethreitz/ghsync.git
synced 2026-06-05 23:10:16 +00:00
Merge branch 'develop'
This commit is contained in:
+2
-2
@@ -35,7 +35,7 @@ from github2.client import Github
|
||||
__author__ = 'Kenneth Reitz'
|
||||
__license__ = 'ISC'
|
||||
__copyright__ = '2011 Kenneth REitz'
|
||||
__version__ = '0.3.0'
|
||||
__version__ = '0.3.1'
|
||||
|
||||
# GitHub configurations
|
||||
GITHUB_USER = cmd('git config github.user')
|
||||
@@ -101,7 +101,7 @@ def run():
|
||||
repo.parent = json.loads(requests.get(_url, ).content)['repository'].get('parent')
|
||||
|
||||
|
||||
if (org in only_type) or not only_type:
|
||||
if not only_type or (org in only_type):
|
||||
|
||||
# just `git pull` if it's already there
|
||||
if os.path.exists(repo.name):
|
||||
|
||||
Reference in New Issue
Block a user