From 67edede57164a743b500b54af322088821e7ac54 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 17 Apr 2011 12:00:09 -0400 Subject: [PATCH 1/2] bugfix --- ghsync/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghsync/core.py b/ghsync/core.py index 268b916..1088684 100644 --- a/ghsync/core.py +++ b/ghsync/core.py @@ -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): From 590688661e62bc727159d9f5c21a64c746ecceeb Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 17 Apr 2011 12:00:43 -0400 Subject: [PATCH 2/2] v0.3.1 --- ghsync/core.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ghsync/core.py b/ghsync/core.py index 1088684..5d74e0d 100644 --- a/ghsync/core.py +++ b/ghsync/core.py @@ -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') diff --git a/setup.py b/setup.py index feb3953..d996bac 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ required = ['github2', 'clint', 'requests'] setup( name='ghsync', - version='0.3.0', + version='0.3.1', description='GitHub Syncer. Clones or Pulls all GitHub repos.', long_description=open('README.rst').read(), author='Kenneth Reitz',