Changeset 654 for trunk/email2trac.py.in
- Timestamp:
- 04/24/14 22:01:07 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/email2trac.py.in
r653 r654 718 718 """ 719 719 To bypass a bug in Trac 720 check if the filename leng htis not larger then OS limit.720 check if the filename length is not larger then OS limit. 721 721 yes : return truncated filename 722 722 no : return unmodified filename … … 740 740 quote_format = util.text.unicode_quote(dummy_filename) 741 741 742 ## Determine max filename leng ht742 ## Determine max filename length 743 743 # 744 744 try: 745 745 filemax_length = os.pathconf('/', 'PC_NAME_MAX') 746 746 except AttributeError, detail: 747 filemax_leng ht= 240747 filemax_length = 240 748 748 749 749 if len(quote_format) <= filemax_length:
Note: See TracChangeset
for help on using the changeset viewer.