##// END OF EJS Templates
Miguel Valdez -
r764:9ef8a32450e0
parent child
Show More
@@ -829,7 +829,17 class Project():
829 829
830 830 def __getNewId(self):
831 831
832 id = int(self.id)*10 + len(self.procUnitConfObjDict) + 1
832 idList = self.procUnitConfObjDict.keys()
833
834 id = int(self.id)*10
835
836 while True:
837 id += 1
838
839 if str(id) in idList:
840 continue
841
842 break
833 843
834 844 return str(id)
835 845
General Comments 0
You need to be logged in to leave comments. Login now