cleanup: unused vars & wrong comment

This commit is contained in:
2014-12-16 11:48:09 +01:00
parent 441742a496
commit 27ec9f20a2
4 changed files with 4 additions and 8 deletions

View File

@@ -457,7 +457,7 @@ class bam_commands:
@staticmethod
def update(paths):
# Load project configuration
cfg = bam_config.load(abort=True)
# cfg = bam_config.load(abort=True)
# TODO(cam) multiple paths
session_rootdir = bam_config.find_sessiondir(paths[0], abort=True)
@@ -861,7 +861,6 @@ class bam_commands:
# bytes needed for blendfile_path_remap API
paths = [p.encode('utf-8') for p in paths]
if not os.path.exists(filepath_remap):
fatal("Remap not started, run with 'start', (%r not found)" % filepath_remap)
@@ -891,7 +890,6 @@ class bam_commands:
fatal("remapping not started, nothing to do!")
# -----------------------------------------------------------------------------
# Argument Parser