Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6d58bf69
Commit
6d58bf69
authored
Jul 18, 2003
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Repair operator error.
parent
bdf3b509
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
Lib/site.py
Lib/site.py
+3
-8
No files found.
Lib/site.py
View file @
6d58bf69
...
...
@@ -91,16 +91,11 @@ del dir, dircase, L
# using the -S option for Python. See http://www.python.org/sf/586680
if
(
os
.
name
==
"posix"
and
sys
.
path
and
os
.
path
.
basename
(
sys
.
path
[
-
1
])
==
"Modules"
):
s
=
"build/lib.%s-%.3s"
%
(
"linux-i686"
,
sys
.
version
)
from
distutils.util
import
get_platform
s
=
"build/lib.%s-%.3s"
%
(
get_platform
(),
sys
.
version
)
s
=
os
.
path
.
join
(
os
.
path
.
dirname
(
sys
.
path
[
-
1
]),
s
)
sys
.
path
.
append
(
s
)
##if (os.name == "posix" and sys.path and
## os.path.basename(sys.path[-1]) == "Modules"):
## from distutils.util import get_platform
## s = "build/lib.%s-%.3s" % (get_platform(), sys.version)
## s = os.path.join(os.path.dirname(sys.path[-1]), s)
## sys.path.append(s)
## del get_platform, s
del
get_platform
,
s
def
_init_pathinfo
():
global
_dirs_in_sys_path
...
...
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