Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 187970 Details for
Bug 265748
media-video/pitivi-0.11.3 uses a variable called "as" which is a reserved word in python 2.6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pitivi-0.11.3-reserved-word.patch
pitivi-0.11.3-reserved-word.patch (text/plain), 1.58 KB, created by
Mike Auty (RETIRED)
on 2009-04-11 11:26:25 UTC
(
hide
)
Description:
pitivi-0.11.3-reserved-word.patch
Filename:
MIME Type:
Creator:
Mike Auty (RETIRED)
Created:
2009-04-11 11:26:25 UTC
Size:
1.58 KB
patch
obsolete
>diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py >index 0a8e6c2..8bce91e 100644 >--- a/pitivi/timeline/timeline.py >+++ b/pitivi/timeline/timeline.py >@@ -194,22 +194,22 @@ class Timeline(Serializable, Signallable): > self.emit("start-duration-changed", self.start, self.duration) > > def getAutoSettings(self): >- vs = self.videocomp._getAutoSettings() >- as = self.audiocomp._getAutoSettings() >- if not vs and not as: >+ vcvs = self.videocomp._getAutoSettings() >+ acas = self.audiocomp._getAutoSettings() >+ if not vcvs and not acas: > return None > # return an ExportSettings containing the combination of > # the autosettings from the audio and video composition. > settings = ExportSettings() >- if vs: >- settings.videowidth = vs.videowidth >- settings.videoheight = vs.videoheight >- settings.videorate = vs.videorate >- settings.videopar = vs.videopar >- if as: >- settings.audiochannels = as.audiochannels >- settings.audiorate = as.audiorate >- settings.audiodepth = as.audiodepth >+ if vcvs: >+ settings.videowidth = vcvs.videowidth >+ settings.videoheight = vcvs.videoheight >+ settings.videorate = vcvs.videorate >+ settings.videopar = vcvs.videopar >+ if acas: >+ settings.audiochannels = acas.audiochannels >+ settings.audiorate = acas.audiorate >+ settings.audiodepth = acas.audiodepth > return settings > > def getDuration(self):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 265748
: 187970