/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tools/doc_generate/autodoc_rstx.py

  • Committer: Ian Clatworthy
  • Date: 2007-12-17 04:45:41 UTC
  • mto: (3119.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3120.
  • Revision ID: ian.clatworthy@internode.on.net-20071217044541-yrae3mxsh9zfv1ea
Fix case where filename not given

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
             "timestamp": time.strftime("%Y-%m-%d %H:%M:%S +0000",tt),
48
48
             "version": bzrlib.__version__,
49
49
             }
50
 
    nominated_filename = options.filename
 
50
    nominated_filename = getattr(options, 'filename', None)
51
51
    if nominated_filename is None:
52
52
        topic_dir = None
53
53
    else: