mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-09 08:05:13 +02:00
Fix formatting errors after doing app wide instead of only the heldesk
folder
This commit is contained in:
12
setup.py
12
setup.py
@ -1,4 +1,5 @@
|
||||
"""django-helpdesk setup"""
|
||||
|
||||
from distutils.util import convert_path
|
||||
from fnmatch import fnmatchcase
|
||||
import os
|
||||
@ -6,7 +7,7 @@ from setuptools import find_packages, setup
|
||||
import sys
|
||||
|
||||
|
||||
version = '1.4.0'
|
||||
version = "1.4.0"
|
||||
|
||||
|
||||
# Provided as an attribute, so you can append to these instead
|
||||
@ -77,8 +78,7 @@ def find_package_data(
|
||||
bad_name = True
|
||||
if show_ignored:
|
||||
print(
|
||||
"Directory %s ignored by pattern %s" % (
|
||||
fn, pattern),
|
||||
"Directory %s ignored by pattern %s" % (fn, pattern),
|
||||
file=sys.stderr,
|
||||
)
|
||||
|
||||
@ -92,8 +92,7 @@ def find_package_data(
|
||||
new_package = package + "." + name
|
||||
stack.append((fn, "", new_package, False))
|
||||
else:
|
||||
stack.append((fn, prefix + name + "/",
|
||||
package, only_in_packages))
|
||||
stack.append((fn, prefix + name + "/", package, only_in_packages))
|
||||
elif package or not only_in_packages:
|
||||
# is a file
|
||||
bad_name = False
|
||||
@ -102,8 +101,7 @@ def find_package_data(
|
||||
bad_name = True
|
||||
if show_ignored:
|
||||
print(
|
||||
"File %s ignored by pattern %s" % (
|
||||
fn, pattern),
|
||||
"File %s ignored by pattern %s" % (fn, pattern),
|
||||
file=sys.stderr,
|
||||
)
|
||||
break
|
||||
|
Reference in New Issue
Block a user