Skip to content

Commit

Permalink
--amend
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyanhui committed Nov 25, 2014
1 parent b0d3e2e commit e24f8be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FileHeader.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# @Author: lime
# @Date: 2013-10-28 13:39:48
# @Last Modified by: Lime
# @Last Modified time: 2014-11-25 14:20:32
# @Last Modified time: 2014-11-25 14:23:57

import os
import sys
Expand Down Expand Up @@ -282,7 +282,7 @@ def get_syntax_type(name):
return syntax_type

for i in range(1, len(name)):
suffix = '%s' % '.'.join(name[i:])
suffix = '.'.join(name[i:])
if suffix in extension_equivalence:
suffix = extension_equivalence[suffix]
break
Expand Down

0 comments on commit e24f8be

Please sign in to comment.