Skip to content

Commit

Permalink
fixed folder only issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Terje Sandstrom committed Dec 9, 2019
1 parent ed8bb95 commit 582bb07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion listgits/listgits.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def spaces(n):
def listgits(cwd,level,short,local,remotes,isSearch,gitoptions,results):
level += 1
spc = spaces(level)
dirs = list(filter(lambda d:os.path.isdir(d) and not os.path.isdir('./.git'),os.listdir()))
dirs = list(filter(lambda d:os.path.isdir(d) ,os.listdir()))
if len(dirs)==0:
return
root = os.getcwd()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="listgits",
version="1.0.0",
version="1.0.1",
author="Terje Sandstrom",
author_email="[email protected]",
description="Python command line program for listing git repositories under a folder root, and optionally run any git command on those repos",
Expand Down

0 comments on commit 582bb07

Please sign in to comment.