Skip to content

Commit

Permalink
add todos
Browse files Browse the repository at this point in the history
  • Loading branch information
pawel committed Jan 12, 2013
1 parent 965b558 commit 43e92c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gengen.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from lib.renderer.blender import BlenderRenderer

def initLogger():
#todo: make logging config global
rawFormatter = logging.Formatter('%(asctime)s:%(name)s:%(levelname)s %(message)s')
prettyFormatter = logging.Formatter('%(message)s')
stdoutHandler = logging.StreamHandler(sys.stdout)
Expand All @@ -28,7 +29,7 @@ def initRamDir(basePath, ramPath):
tmp = tmp[0:-1]
if do('mount | grep %s'% tmp, True):
do('mkdir %s' % ramPath)
do('sudo mount -osize=100m tmpfs %s -t tmpfs' % ramPath, False)
do('sudo mount -osize=100m tmpfs %s -t tmpfs' % ramPath, False, True)
do('cp -r %s/* %s'%(basePath, ramPath))

def closeRamDir(basePath, ramPath):
Expand All @@ -39,6 +40,7 @@ def closeRamDir(basePath, ramPath):
parser = argparse.ArgumentParser()
parser.add_argument('command', metavar='COMMAND', help='command: init, evolve, tests')
parser.add_argument('-c','--config', metavar='CONFIG', default='config.yml', help='load alternative config file')
#todo: add debug mode
# parser.add_argument('-v', '--verbose', action='store_true', help='verbose mode')
args = parser.parse_args()

Expand Down
1 change: 1 addition & 0 deletions tests/accuracy.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ def setUp(self):

def tearDown(self):
self.object.remove()
#todo: implement tests

0 comments on commit 43e92c0

Please sign in to comment.