Hi,

I uploaded an NMU of your package.

Please see this as help to get the package into a releaseable condition for
etch.

Please find the used diff below.


Cheers,
Andi

diff -ur ../ghextris-0.9.0~/debian/changelog ../ghextris-0.9.0/debian/changelog
--- ../ghextris-0.9.0~/debian/changelog 2006-10-27 03:26:33.000000000 +0000
+++ ../ghextris-0.9.0/debian/changelog  2006-12-26 11:16:55.000000000 +0000
@@ -1,3 +1,12 @@
+ghextris (0.9.0-1.3) unstable; urgency=high
+
+  [ Jason Harrison ]
+  * Non-maintainer upload.
+  * Renamed #!/usr/bin/python2.3 to #!/usr/bin/python. Closes: #403874
+  * Changed program to use random instead of whrandom which is depreciated.
+
+ -- Andreas Barth <[EMAIL PROTECTED]>  Tue, 26 Dec 2006 11:13:20 +0000
+
 ghextris (0.9.0-1.2) unstable; urgency=low
 
   * NMU.
diff -ur ../ghextris-0.9.0~/ghextris.py ../ghextris-0.9.0/ghextris.py
--- ../ghextris-0.9.0~/ghextris.py      2006-07-22 18:07:19.000000000 +0000
+++ ../ghextris-0.9.0/ghextris.py       2006-12-26 11:13:14.000000000 +0000
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.3
+#!/usr/bin/python
 
 # Gnome-hextris; a free rewrite of the xhextris game in Python for Gnome
 # Copyright 2004 Mikko Rauhala <[EMAIL PROTECTED]>
@@ -36,7 +36,7 @@
 
 import gettext
 
-import whrandom
+import random
 
 class Hextris:
     def __init__(self):
@@ -216,7 +216,7 @@
             self.rowgroups.append(self.board.add("GnomeCanvasGroup", x = 0,
                                                  y = i * self.pieceheight))
         
-        self.nextnum = whrandom.randint(0, 9)
+        self.nextnum = random.randint(0, 9)
         self.next_piece()
 
         if self.running == False:
@@ -277,7 +277,7 @@
         win.connect("key-press-event", self.key_handler)
         self.init_board()
 
-        whrandom.seed()
+        random.seed()
 
         self.update_appbar()
 
@@ -285,7 +285,7 @@
 
     def next_piece(self):
         self.piecenum = self.nextnum
-        self.nextnum = whrandom.randint(0, 9)
+        self.nextnum = random.randint(0, 9)
         self.attitude = 0
         self.piece_x = (self.cols/2)-1 + self.deltax[self.piecenum]
         self.piece_y = -3 + self.deltax[self.piecenum]
-- 
  http://home.arcor.de/andreas-barth/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to