#talks about /usr/share/bug/$package/* - even in subject
reopen 422085
thanks

Why don't you just fix the bugs instead of trying to play with the bts. 

I never programmed in python before - and I still don't like it, but in around 
10 minutes, I was able to create a patch for the presubj part.  (Se attached)
As you seem to be quite able to write stuff in python, it should have been even 
faster for you.

/Sune


On Sunday 20 July 2008 19:26:00 Bastian Venthur wrote:
> Hi Sune,
>
> I've unmerged the three bugs again and closed the serious of the three
> which was mainly about rng not sending the output of the scripts. This
> one is fixed. The other stuff is still open, so I've unmerged the other
> bugs from this and reopened them.
>
> I've also wrote to the release team, so they can re-evaluate the
> situation again.
>
>
> Cheers,
>
> Bastian

-- 
Genius, I cannot overclock the file, how does it work?

From MkLinuxPPC you neither can ever cancel the sendmail of the Ultra sendmail 
to the front-end over a periferic, nor must debug the IP window in order to 
log from the ethernet wordprocessor.

diff -Nru reportbug-ng-1.0.1/debian/changelog reportbug-ng-1.0.1+nmu1/debian/changelog
--- reportbug-ng-1.0.1/debian/changelog	2008-07-20 17:35:41.000000000 +0200
+++ reportbug-ng-1.0.1+nmu1/debian/changelog	2008-07-20 19:44:03.000000000 +0200
@@ -1,3 +1,10 @@
+reportbug-ng (1.0.1+nmu1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix presubj.
+
+ -- Sune Vuorela <[EMAIL PROTECTED]>  Sun, 20 Jul 2008 19:43:58 +0200
+
 reportbug-ng (1.0.1) unstable; urgency=high
 
   * Send the output of /usr/share/bug/PACKAGE/script if available
diff -Nru reportbug-ng-1.0.1/src/rnggui.py reportbug-ng-1.0.1+nmu1/src/rnggui.py
--- reportbug-ng-1.0.1/src/rnggui.py	2008-07-19 13:43:37.000000000 +0200
+++ reportbug-ng-1.0.1+nmu1/src/rnggui.py	2008-07-20 20:02:22.000000000 +0200
@@ -102,6 +102,14 @@
     
     def new_bugreport(self):
         self.logger.info("New Bugreport.")
+	try:
+		f = file("/usr/share/bug/" + self.currentPackage + "/presubj")
+	except IOError, e:
+		self.logger.info("No presubj")
+	else:
+		contents = f.read()
+		f.close
+		QtGui.QMessageBox.question(self, "Info about %s" % self.currentPackage, contents)
         self.__submit_dialog("newbug")
     
     def additional_info(self):

Reply via email to