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
47db1658
Commit
47db1658
authored
Mar 03, 2004
by
Sjoerd Mullender
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed invalid syntax.
parent
6babcc2a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Lib/plat-irix5/cdplayer.py
Lib/plat-irix5/cdplayer.py
+1
-1
Lib/plat-irix5/torgb.py
Lib/plat-irix5/torgb.py
+1
-1
Lib/plat-irix6/cddb.py
Lib/plat-irix6/cddb.py
+1
-1
No files found.
Lib/plat-irix5/cdplayer.py
View file @
47db1658
...
...
@@ -82,7 +82,7 @@ class Cdplayer:
new
.
write
(
self
.
id
+
'.title:
\
t
'
+
self
.
title
+
'
\
n
'
)
new
.
write
(
self
.
id
+
'.artist:
\
t
'
+
self
.
artist
+
'
\
n
'
)
for
i
in
range
(
1
,
len
(
self
.
track
)):
new
.
write
(
'%s.track.%r:
\
t
%s
\
n
'
%
(
self
.
id
,
i
,
self
.
track
[
i
])
new
.
write
(
'%s.track.%r:
\
t
%s
\
n
'
%
(
self
.
id
,
i
,
self
.
track
[
i
])
)
old
.
close
()
new
.
close
()
posix
.
rename
(
filename
+
'.new'
,
filename
)
Lib/plat-irix5/torgb.py
View file @
47db1658
...
...
@@ -90,7 +90,7 @@ def _torgb(filename, temps):
if
ftype
==
'rgb'
:
return
fname
if
ftype
is
None
or
not
table
.
has_key
(
ftype
):
raise
error
,
'%s: unsupported image file type %r'
%
(
filename
,
ftype
)
)
raise
error
,
'%s: unsupported image file type %r'
%
(
filename
,
ftype
)
(
fd
,
temp
)
=
tempfile
.
mkstemp
()
os
.
close
(
fd
)
sts
=
table
[
ftype
].
copy
(
fname
,
temp
)
...
...
Lib/plat-irix6/cddb.py
View file @
47db1658
...
...
@@ -189,7 +189,7 @@ class Cddb:
prevpref
=
None
for
i
in
range
(
1
,
len
(
self
.
track
)):
if
self
.
trackartist
[
i
]:
f
.
write
(
'track%r.artist:
\
t
%s
\
n
'
%
(
i
,
self
.
trackartist
[
i
])
f
.
write
(
'track%r.artist:
\
t
%s
\
n
'
%
(
i
,
self
.
trackartist
[
i
])
)
track
=
self
.
track
[
i
]
try
:
off
=
track
.
index
(
','
)
...
...
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