Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin@sipsolutions.net>2008-08-25 23:17:01 (GMT)
committer Benjamin Berg <benjamin@sipsolutions.net>2008-08-25 23:17:01 (GMT)
commit85255efa036cbc58023c09124b8d7f4a5f8abbf4 (patch)
treec58084d40302162c5f695b09b1bf36a29f88d122 /src
parent3952e794cca765caa25bc7870dc5dc219363b1fa (diff)
Fix pylint warning in grid.py.
Diffstat (limited to 'src')
-rw-r--r--src/view/home/grid.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/home/grid.py b/src/view/home/grid.py
index 125c976..4653f1a 100644
--- a/src/view/home/grid.py
+++ b/src/view/home/grid.py
@@ -15,7 +15,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-from numpy import array, zeros
+import numpy
import random
import gobject
@@ -43,7 +43,7 @@ class Grid(gobject.GObject):
self._collisions = []
self._collisions_sid = 0
- self._array = zeros((width, height), dtype='b')
+ self._array = numpy.zeros((width, height), dtype='b')
def add(self, child, width, height, x=None, y=None, locked=False):
if x is not None and y is not None: