Changeset 5614


Ignore:
Timestamp:
Aug 6, 2008, 9:32:40 AM (14 years ago)
Author:
duncan
Message:

keep working, even if get_revision_number fails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/documentation/user_manual/update_anuga_user_manual.py

    r5514 r5614  
    7676for line in fid.readlines():
    7777    if line.startswith('\\release'):
    78         line = '\\release{%s\\_%d}\n' %(major_revision,
    79                                        get_revision_number())
     78        try:
     79            line = '\\release{%s\\_%d}\n' %(major_revision,
     80                                            get_revision_number())
     81        except:
     82            line = '\\release{%s}\n' %(major_revision)
     83           
    8084    lines.append(line)
    8185fid.close()
Note: See TracChangeset for help on using the changeset viewer.