Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add todos

  • Loading branch information...
commit 43e92c05e9924e1831ad1edd7eac409f275282ae 1 parent 965b558
@Eyjafjallajokull authored
Showing with 4 additions and 1 deletion.
  1. +3 −1 gengen.py
  2. +1 −0  tests/accuracy.py
View
4 gengen.py
@@ -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)
@@ -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):
@@ -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()
View
1  tests/accuracy.py
@@ -12,3 +12,4 @@ def setUp(self):
def tearDown(self):
self.object.remove()
+ #todo: implement tests
Please sign in to comment.
Something went wrong with that request. Please try again.