mlhim-specs-dev team mailing list archive
-
mlhim-specs-dev team
-
Mailing list archive
-
Message #00770
[Branch ~cdd-dev/cdd/trunk] Rev 285: Removed remaining replacements for dashes to underscores.
------------------------------------------------------------
revno: 285
committer: Eduardo C. P. Ribeiro <eduardo.cesar@xxxxxxx>
branch nick: devel
timestamp: Thu 2012-12-06 16:56:34 -0300
message:
Removed remaining replacements for dashes to underscores.
modified:
src/2.0/cdd.py
--
lp:cdd
https://code.launchpad.net/~cdd-dev/cdd/trunk
Your team MLHIM Specifications Developers is subscribed to branch lp:cdd.
To unsubscribe from this branch go to https://code.launchpad.net/~cdd-dev/cdd/trunk/+edit-subscription
=== modified file 'src/2.0/cdd.py'
--- src/2.0/cdd.py 2012-10-30 10:56:36 +0000
+++ src/2.0/cdd.py 2012-12-06 19:56:34 +0000
@@ -2216,7 +2216,7 @@
self.date = ''
- self.ccd_id = "ccd_"+str(uuid.uuid4()).replace('-','_')
+ self.ccd_id = "ccd_"+str(uuid.uuid4())
def get_info(self, title, description, date, creator, creator_email, contributor, language, publisher, subject, source, rights, relation, coverage):
self.title = title
@@ -2240,9 +2240,9 @@
def generate_file(self, path):
- UUID_definition = "ct_"+str(uuid.uuid4()).replace('-','_')
- UUID_string = "ct_"+str(uuid.uuid4()).replace('-','_')
- UUID_complex = "ct_"+str(uuid.uuid4()).replace('-','_')
+ UUID_definition = "ct_"+str(uuid.uuid4())
+ UUID_string = "ct_"+str(uuid.uuid4())
+ UUID_complex = "ct_"+str(uuid.uuid4())
schema = self.ccd_id + ".xsd"