Bug 431861 - filename not defined in symbolstore.py's GetCleanRoot (or GetCleanRoot assumes the presence of an @ in a CVS/Root)
authorLukas Blakk <lukasblakk@gmail.com>
Thu, 17 Jul 2008 13:19:58 -0400
changeset 16023 10e63a02fbc9ec26236c99dec3e7623060df916c
parent 16022 661cce8d7fd0117f9823010acbbf223380855c99
child 16024 c5e52a5ef92bfd08ac6e21070a858ef8091f91f2
push idunknown
push userunknown
push dateunknown
bugs431861
milestone1.9.1a1pre
Bug 431861 - filename not defined in symbolstore.py's GetCleanRoot (or GetCleanRoot assumes the presence of an @ in a CVS/Root) r=ted
toolkit/crashreporter/tools/symbolstore.py
--- a/toolkit/crashreporter/tools/symbolstore.py
+++ b/toolkit/crashreporter/tools/symbolstore.py
@@ -153,18 +153,17 @@ class CVSFileInfo(VCSFileInfo):
         print >> sys.stderr, "Failed to get CVS Root for %s" % filename
         return None
 
     def GetCleanRoot(self):
         parts = self.root.split('@')
         if len(parts) > 1:
             # we don't want the extra colon
             return parts[1].replace(":","")
-        print >> sys.stderr, "Failed to get CVS Root for %s" % filename
-        return None
+        return self.root.replace(":","")
 
     def GetRevision(self):
         (path, filename) = os.path.split(self.file)
         entries = os.path.join(path, "CVS", "Entries")
         if not os.path.isfile(entries):
             return None
         f = open(entries, "r")
         for line in f: