Skip to content

Commit

Permalink
Result of DTD script.
Browse files Browse the repository at this point in the history
  • Loading branch information
strichter committed Jun 19, 2007
1 parent 9235f6b commit 8a14e62
Show file tree
Hide file tree
Showing 3 changed files with 363 additions and 72 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
],
entry_points = {
'console_scripts': [
'dtd = z3c.rml.dtd:generate',
'dtd = z3c.rml.dtd:main',
'reference = z3c.rml.reference:main'],
},
dependency_links = ['http://download.zope.org/distribution']
Expand Down
5 changes: 4 additions & 1 deletion src/z3c/rml/dtd.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ def generate(useWrapper=False):
text = '<!DOCTYPE RML [\n%s]>\n' %text
return text

def main():
print generate()


if __name__ == '__main__':
print generate()
print main()
Loading

0 comments on commit 8a14e62

Please sign in to comment.