mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-16 00:59:52 +00:00
Workaround for nose traceback on Python 2.6; fixes #109
This commit is contained in:
parent
6073c7ad89
commit
a6027498a0
1 changed files with 5 additions and 0 deletions
5
setup.py
5
setup.py
|
|
@ -1,6 +1,11 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
from __future__ import with_statement
|
from __future__ import with_statement
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
try:
|
||||||
|
# http://bugs.python.org/issue15881#msg170215
|
||||||
|
import multiprocessing
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
def get_version(fname='flake8/__init__.py'):
|
def get_version(fname='flake8/__init__.py'):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue