Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
2eb4eeaf
Commit
2eb4eeaf
authored
Jun 19, 2013
by
Vinay Sajip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor change to minimise diffs with upstream.
--HG-- branch : single-codebase
parent
9ea9ca10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
pkg_resources.py
pkg_resources.py
+2
-1
No files found.
pkg_resources.py
View file @
2eb4eeaf
...
...
@@ -40,7 +40,6 @@ try:
except
NameError
:
basestring
=
str
from
io
import
StringIO
from
functools
import
reduce
exec_
=
eval
(
"exec"
)
def
execfile
(
fn
,
globs
=
None
,
locs
=
None
):
if
globs
is
None
:
...
...
@@ -48,6 +47,8 @@ except NameError:
if
locs
is
None
:
locs
=
globs
exec_
(
compile
(
open
(
fn
).
read
(),
fn
,
'exec'
),
globs
,
locs
)
import
functools
reduce
=
functools
.
reduce
# capture these to bypass sandboxing
from
os
import
utime
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment