- Timestamp:
- 2009年08月23日 11时59分15秒 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/pysvnmanager/hooks/init/hook1.4/scripts/check-mime-type.py
r47 r90 53 53 check_mime = True 54 54 55 for line in os.popen(cmd, 'r').readlines():55 for line in os.popen(cmd, 'r').readlines(): 56 56 if pmime.match(line): 57 57 mime_type = pmime.match(line).group(1) … … 61 61 eol_style = peol.match(line).group(1) 62 62 63 if check_mime:63 if check_mime: 64 64 if mime_type == "" and eol_style == '': 65 65 errmsg.append( "%s : 属性 svn:mime-type 或者 svn:eol-style 没有设置" % path.decode('utf-8','replace').encode('utf-8','replace') )
![(please configure the [header_logo] section in trac.ini)](/trac/pysvnmanager/chrome/common/trac_banner.png)