Skip to content

Commit 75b2a56

Browse files
committed
v2.0.6 available
1 parent 65fcebf commit 75b2a56

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.5
1+
2.0.7

doc/CHANGELOGS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Changelogs
22

3+
* v2.0.6
4+
* BUGFIX : Patch Repository List / ACLs when empty
5+
* UPDATE : Dynamic installation scrit (No longer version number hardcoded)
6+
37
* v2.0.5
48
* BUGFIX : Errors with Requests lib fixed
59
* UPDATE : Update shebang

srcs/mode.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ def listFilter(self, args):
8989

9090
def printList(self, data, filter=""):
9191
repositories = []
92+
if not data:
93+
print("No repositories found")
94+
return
9295
for name in data["data"]["repositories"]:
9396
if len(name) and filter in name:
9497
repositories.append(name)
@@ -100,6 +103,9 @@ def printList(self, data, filter=""):
100103

101104
def printACL(self, data):
102105
users = []
106+
if not data:
107+
print("No ACLs found")
108+
return
103109
for name in data["data"]:
104110
users.append(name)
105111
users.sort(key=lambda x:x.lower())

0 commit comments

Comments
 (0)