mirror of
https://github.com/pypiserver/pypiserver
synced 2024-11-09 16:45:51 +01:00
whitespace cleanup.
This commit is contained in:
parent
f8e27cf1b4
commit
a56fa3293b
@ -2,14 +2,16 @@
|
||||
|
||||
import os
|
||||
|
||||
|
||||
def main():
|
||||
files = [x.strip() for x in os.popen("git ls-files")]
|
||||
|
||||
def remove(n):
|
||||
try:
|
||||
files.remove(n)
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
|
||||
remove("make_manifest.py")
|
||||
|
||||
files.sort()
|
||||
@ -19,5 +21,5 @@ def main():
|
||||
f.write("include %s\n" % x)
|
||||
f.close()
|
||||
|
||||
if __name__=='__main__':
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
@ -1,4 +1,3 @@
|
||||
if __name__ == "__main__":
|
||||
from pypiserver import core
|
||||
core.main()
|
||||
|
||||
|
1
setup.py
1
setup.py
@ -2,6 +2,7 @@
|
||||
|
||||
from distutils.core import setup
|
||||
|
||||
|
||||
def get_version():
|
||||
d = {}
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user