Skip to content

Commit 5ed69a0

Browse files
Darwin Stoppelmanbukzor
Darwin Stoppelman
authored andcommitted
Tabs are delicious, and no one was guarding them. Woof.
1 parent ce0563a commit 5ed69a0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+1681
-1583
lines changed

.gitattributes

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Ensure that code filetypes are indented with spaces, not tabs
2+
*.py filter=spabs
3+
*.yaml filter=spabs
4+
*.json filter=spabs
5+
*.css filter=spabs
6+
*.scss filter=spabs
7+
*.tmpl filter=spabs
8+
*.mako filter=spabs
9+
*.js filter=spabs
10+
*.sql filter=spabs
11+
*.java filter=spabs
12+
*.jsp filter=spabs
13+
*.pyx filter=spabs
14+
*.pxi filter=spabs
15+
*.sh filter=spabs
16+
*.txt filter=spabs
17+
*.md filter=spabs
18+
*.rst filter=spabs
19+
*.html filter=spabs
20+
*.htm filter=spabs
21+
*.shtml filter=spabs
22+
*.xml filter=spabs
23+
*.xsl filter=spabs
24+
*.xsd filter=spabs
25+
*.thrift filter=spabs

refactorlib/__init__.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
__version__ = '0.4.a'
22

33
def module_dir(modulefile):
4-
if modulefile[-1] in 'oc':
5-
# fixup for .pyc and .pyo files
6-
filename = modulefile[:-1]
7-
else:
8-
filename = modulefile
4+
if modulefile[-1] in 'oc':
5+
# fixup for .pyc and .pyo files
6+
filename = modulefile[:-1]
7+
else:
8+
filename = modulefile
99

10-
from os.path import realpath, dirname
11-
return dirname(realpath(filename))
10+
from os.path import realpath, dirname
11+
return dirname(realpath(filename))
1212

1313
TOP = module_dir(__file__)
1414
__all__ = ('__version__', 'module_dir', 'TOP')

0 commit comments

Comments
 (0)