← Back to team overview

mlhim-specs-dev team mailing list archive

[Branch ~cdd-dev/cdd/trunk] Rev 174: Fix of the previous commit.

 

------------------------------------------------------------
revno: 174
committer: Eduardo César <xcesar@xxxxxxxxx>
branch nick: cdd
timestamp: Sun 2012-07-15 11:12:46 -0300
message:
  Fix of the previous commit.
modified:
  Generator/cdg/MainFrame.py
  Generator/cdg/cdg_custom.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 'Generator/cdg/MainFrame.py'
--- Generator/cdg/MainFrame.py	2012-07-14 21:03:29 +0000
+++ Generator/cdg/MainFrame.py	2012-07-15 14:12:46 +0000
@@ -201,7 +201,7 @@
 
 
         # Call the writing routine
-        ccd_id = cdg_custom.generate_files(path, title, description, date, creator, creator_email, contributor, language, publisher, subject, source, rights, relation, coverage, choice_definition)
+        ccd_id = cdg_custom.generate_files(path, title, description, date, creator, creator_email, contributor, language, publisher, subject, source, rights, relation, coverage)
 
 
         # Show dialog

=== modified file 'Generator/cdg/cdg_custom.py'
--- Generator/cdg/cdg_custom.py	2012-07-14 21:03:29 +0000
+++ Generator/cdg/cdg_custom.py	2012-07-15 14:12:46 +0000
@@ -4,8 +4,9 @@
 import ConfigParser
 from xml.sax.saxutils import escape
 
-def generate_files(path, title, description, date, creator, creator_email, contributor, language, publisher, subject, source, rights, relation, coverage, choice_definition):
+def generate_files(path, title, description, date, creator, creator_email, contributor, language, publisher, subject, source, rights, relation, coverage):
 
+    choice_definition = "String"
     ccd_id = "ccd_"+str(uuid.uuid4()).replace('-','_')
     UUID_definition = "ct_"+str(uuid.uuid4()).replace('-','_')
     UUID_string = "ct_"+str(uuid.uuid4()).replace('-','_')