소스 검색

added explicit 'Done.' printouts

Darren Ranalli 22 년 전
부모
커밋
4c923fbd9e
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      direct/src/level/SpecUtil.py

+ 2 - 0
direct/src/level/SpecUtil.py

@@ -14,6 +14,7 @@ def makeNewSpec(filename, modelPath, entTypeModule=EntityTypes):
     spec = LevelSpec.LevelSpec()
     privUpdateSpec(spec, modelPath, entTypeModule)
     spec.saveToDisk(filename, makeBackup=0)
+    print 'Done.'
 
 """
 FOR SAME LEVEL MODEL PATH:
@@ -36,6 +37,7 @@ def updateSpec(specModule, entTypeModule=EntityTypes, modelPath=None):
     spec = LevelSpec.LevelSpec(specModule)
     privUpdateSpec(spec, modelPath, entTypeModule)
     spec.saveToDisk()
+    print 'Done.'
 
 def privUpdateSpec(spec, modelPath, entTypeModule):
     """internal: take a spec and update it to match its level model"""