Skip to content

Commit

Permalink
Auto ignore repositories that are forks
Browse files Browse the repository at this point in the history
  • Loading branch information
babab committed Feb 20, 2016
1 parent 3b16bf4 commit 06580a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/bababblog/lib.py
Expand Up @@ -30,7 +30,7 @@ def getRepos(self, sort=True):
.format(self.url, self.username))
repos = []
for item in request.json():
if item['name'] not in self.ignore:
if not item['fork'] and item['name'] not in self.ignore:
repos.append([item['updated_at'], item])
if sort:
repos.sort(reverse=True)
Expand Down
3 changes: 0 additions & 3 deletions src/bababsite/settings.py
Expand Up @@ -127,12 +127,9 @@
'all',
'code.babab.nl',
'dispass-website',
'gitto',
'gitto-pkgbuild',
'kebokun',
'pagestest',
'slate',
'sti',
'youtube-comments-disabler',
]

Expand Down

0 comments on commit 06580a1

Please sign in to comment.