Commits

Nikhil Marathe  committed dc698eb

De-linted code for the most part.

  • Participants
  • Parent commits 4a879a6

Comments (0)

Files changed (2)

File src/fileadelphia/building.py

 import math
 import pygame
 import os
-import random
 from OpenGL.GL import *
 from OpenGL.GLU import *
 from OpenGL.GLUT import *
-from stat import *
+from stat import S_ISDIR
 
 def volume_function(size):
     #TODO:
         	self.texture = textures[1]
         else:
         	self.texture = textures[0]
-        #self.texture = random.choice(textures)
         length, height, depth = volume_function(self.info.st_size)
         assert x >= 0
         assert y >= 0

File src/fileadelphia/city.py

 from OpenGL.GLU import *
 from stat import S_ISDIR, S_ISREG
 from pygame.locals import *
-import pygame
 import logging
 import sys
 
         State.__init__(self)
         pygame.display.set_caption("Fileadelphia - %s"%directory)
         self.directory = directory
-        info = os.stat(self.directory)
         self.buildings = []
 
         InitTextGL()