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
ada67ec3
Commit
ada67ec3
authored
Jun 03, 1992
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment out debug prints (by Sjoerd)
parent
b66efa0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
Lib/irix5/readcd.py
Lib/irix5/readcd.py
+4
-4
Lib/plat-irix5/readcd.py
Lib/plat-irix5/readcd.py
+4
-4
No files found.
Lib/irix5/readcd.py
View file @
ada67ec3
...
...
@@ -7,7 +7,7 @@ _Stop = 'Readcd.Stop'
def
_doatime
(
self
,
type
,
data
):
if
((
data
[
0
]
*
60
)
+
data
[
1
])
*
75
+
data
[
2
]
>
self
.
end
:
print
'done with list entry'
,
`self.listindex`
##
print 'done with list entry',`self.listindex`
raise
_Stop
func
,
arg
=
self
.
callbacks
[
type
]
if
func
:
...
...
@@ -15,7 +15,7 @@ def _doatime(self, type, data):
def
_dopnum
(
self
,
type
,
data
):
if
data
>
self
.
end
:
print
'done with list entry'
,
`self.listindex`
##
print 'done with list entry',`self.listindex`
raise
_Stop
func
,
arg
=
self
.
callbacks
[
type
]
if
func
:
...
...
@@ -48,7 +48,7 @@ class Readcd():
self
.
status
=
None
self
.
trackinfo
=
None
if
self
.
playing
:
print
'stop playing from eject'
##
print 'stop playing from eject'
raise
_Stop
def
pmsf2msf
(
self
,
track
,
min
,
sec
,
frame
):
...
...
@@ -199,7 +199,7 @@ class Readcd():
if
self
.
listindex
>=
len
(
self
.
list
):
return
start
,
end
=
self
.
list
[
self
.
listindex
]
print
'starting with'
,
`(start, end)`
##
print 'starting with',`(start, end)`
try
:
min
,
sec
,
frame
=
start
dummy
=
self
.
player
.
seek
(
min
,
sec
,
frame
)
...
...
Lib/plat-irix5/readcd.py
View file @
ada67ec3
...
...
@@ -7,7 +7,7 @@ _Stop = 'Readcd.Stop'
def
_doatime
(
self
,
type
,
data
):
if
((
data
[
0
]
*
60
)
+
data
[
1
])
*
75
+
data
[
2
]
>
self
.
end
:
print
'done with list entry'
,
`self.listindex`
##
print 'done with list entry',`self.listindex`
raise
_Stop
func
,
arg
=
self
.
callbacks
[
type
]
if
func
:
...
...
@@ -15,7 +15,7 @@ def _doatime(self, type, data):
def
_dopnum
(
self
,
type
,
data
):
if
data
>
self
.
end
:
print
'done with list entry'
,
`self.listindex`
##
print 'done with list entry',`self.listindex`
raise
_Stop
func
,
arg
=
self
.
callbacks
[
type
]
if
func
:
...
...
@@ -48,7 +48,7 @@ class Readcd():
self
.
status
=
None
self
.
trackinfo
=
None
if
self
.
playing
:
print
'stop playing from eject'
##
print 'stop playing from eject'
raise
_Stop
def
pmsf2msf
(
self
,
track
,
min
,
sec
,
frame
):
...
...
@@ -199,7 +199,7 @@ class Readcd():
if
self
.
listindex
>=
len
(
self
.
list
):
return
start
,
end
=
self
.
list
[
self
.
listindex
]
print
'starting with'
,
`(start, end)`
##
print 'starting with',`(start, end)`
try
:
min
,
sec
,
frame
=
start
dummy
=
self
.
player
.
seek
(
min
,
sec
,
frame
)
...
...
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