[sysadmin-bin] Typoed!



commit f44f65a8f5c485687971dbb5c4fda844416643e5
Author: Andrea Veri <averi redhat com>
Date:   Wed May 30 11:50:51 2018 +0200

    Typoed!

 git/build-repo-list | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/git/build-repo-list b/git/build-repo-list
index aa7cac6..1f6855f 100755
--- a/git/build-repo-list
+++ b/git/build-repo-list
@@ -52,7 +52,7 @@ class Repo:
         self.pending = os.path.isfile(os.path.join(repopath, 'pending'))
         self.owner = ''
 
-        shortname = repopath.split('/')[-1].strip('.git')
+        shortname = repopath.split('/')[-1].rstrip('.git')
         self.shortname = shortname
 
         pending = ''


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]