Commits

Jason R. Coombs committed bb2ee95

Make _generate_id a static method

  • Participants
  • Parent commits be4da34

Comments (0)

Files changed (1)

File openpack/basepack.py

 		# "XML Schema Part 2: Datatypes."
 		return id
 
-	def _generate_id(self):
+	@staticmethod
+	def _generate_id():
 		return "d%s" % codecs.encode(os.urandom(4), 'hex')
 
 class Relationships(Part):