[library-web] Revert "Merge "3.x" doc modules with their "2.x" counterparts"



commit 0e847c19702220038285c8c29045d8db9478d82c
Author: Frédéric Péters <fpeters 0d be>
Date:   Wed Feb 9 18:01:25 2011 +0100

    Revert "Merge "3.x" doc modules with their "2.x" counterparts"
    
    This reverts commit 9ec37cea9c9926138ba0a1e28fa24ec15eede6c2 because we
    actually want to have them appear as different entries. (GNOME bug 641940)

 src/modtypes/base.py |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/modtypes/base.py b/src/modtypes/base.py
index 0f5b808..9723ad7 100644
--- a/src/modtypes/base.py
+++ b/src/modtypes/base.py
@@ -60,10 +60,6 @@ class DocModule(object):
             # remove the version part, so libsoup-2.4 is handled just like
             # another version of libsoup
             self.modulename = re.sub('-\d+\.\d+$', '', self.modulename)
-            # and gtk & friends just add a single digit to their modulename for
-            # their 3.x version (e.g. gtk3, gdk-pixbuf3), remove trailing
-            # digits
-            self.modulename = re.sub('\d+$', '', self.modulename)
         self.version = os.path.splitext(tar.name)[0].split('-')[-1]
         if self.version.endswith('.tar'):
             self.version = self.version[:-4]



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