This commit is contained in:
2014-12-02 13:52:29 +01:00
parent a9be59f7c3
commit 60f47d2d38
2 changed files with 2 additions and 5 deletions

View File

@@ -635,7 +635,6 @@ class ExpandID:
for item in bf_utils.iter_ListBase(block.get_pointer(b'base.first')):
yield item.get_pointer(b'object', sdna_index_refine=sdna_index_Base)
block_ed = block.get_pointer(b'ed')
if block_ed is not None:
sdna_index_Sequence = block.file.sdna_index_from_id[b'Sequence']

View File

@@ -291,7 +291,6 @@ def bam_run_as_json(argv, cwd=None):
return ret
def file_quick_write(path, filepart=None, data=None, append=False):
"""Quick file creation utility.
"""
@@ -1094,7 +1093,7 @@ class BamIgnoreTest(BamSessionTestCase):
file_quick_write(subdir_path, "testfile.blend1", file_data)
# now check for status
stdout, stderr = bam_run(["status",], session_path)
stdout, stderr = bam_run(["status", ], session_path)
self.assertEqual("", stderr)
# try to commit
@@ -1102,7 +1101,6 @@ class BamIgnoreTest(BamSessionTestCase):
self.assertEqual("", stderr)
self.assertEqual("Nothing to commit!\n", stdout)
def test_invalid_ignore(self):
session_name = "mysession"
file_name = "testfile.txt"
@@ -1123,7 +1121,7 @@ class BamIgnoreTest(BamSessionTestCase):
file_quick_write(session_path, file_name, file_data)
# now check for status
self.assertRaises(RuntimeError, bam_run, ["status",], session_path)
self.assertRaises(RuntimeError, bam_run, ["status", ], session_path)
if __name__ == '__main__':