dirty patch, release-changelog won't work with the new ipfw being under a separate...
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 7 May 2013 09:47:18 +0000 (11:47 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 7 May 2013 09:47:18 +0000 (11:47 +0200)
module-tools.py

index a1d3ab1..ac9c00f 100755 (executable)
@@ -1344,7 +1344,14 @@ def release_changelog(options, buildtag_old, buildtag_new):
         os.system("cp -f /%s %s" % (specfile, tmpfile))
         
         m = get_module(module, second)
-        m.init_module_dir()
+        # patch for ipfw that, being managed in a separate repo, won't work for now
+        try:
+            m.init_module_dir()
+        except Exception,e:
+            print """Could not retrieve module %s - skipped
+{{{ %s }}}
+""" %( m.friendly_name(), e)
+            continue
         specfile = m.main_specname()
 
         if m.repository.type == "svn":