[sysadmin-bin] Same reasoning as 32745c4
- From: Andrea Veri <averi src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Same reasoning as 32745c4
- Date: Wed, 30 May 2018 16:35:26 +0000 (UTC)
commit b9cac598e54213568481e095d0b12bbd0f790c52
Author: Andrea Veri <averi redhat com>
Date: Wed May 30 18:35:10 2018 +0200
Same reasoning as 32745c4
ftpadmin | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ftpadmin b/ftpadmin
index 21fbb3c..46e031d 100755
--- a/ftpadmin
+++ b/ftpadmin
@@ -406,7 +406,7 @@ class DOAP(BasicInfo):
if hasattr(repo_loc, 'startswith'):
modname = re.sub('%s:(GNOME|Infrastructure)/' % self.GITLAB_REPO, '', repo_loc)
- modname = modname.strip('.git')
+ modname = modname.split('.')[0]
# In case project is unknown or already defined, ignore it
if not modname or modname in MODULE_INFO:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]