Closed Bug 877265 Opened 12 years ago Closed 12 years ago

mozdevice.dmcli uses dictionary comprehensions which are a python 2.7ism

Categories

(Testing :: Mozbase, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla24

People

(Reporter: ahal, Assigned: wlach)

References

Details

Attachments

(1 file)

While nice, unfortunately it trips up any slaves on python 2.6 (or less) when trying to install mozdevice: e.g https://tbpl.mozilla.org/php/getParsedLog.php?id=23535012&tree=Ash&full=1#error0 Line tripping it up: https://github.com/mozilla/mozbase/blob/f4f1a4d90fdbb8105c5a873566649637be3beea1/mozdevice/mozdevice/dmcli.py#L174
Blocks: 855893
I can't believe we're not using python 2.7 on these slaves, but that's another story. Let's just get this fixed.
Assignee: nobody → wlachance
Attachment #755949 - Flags: review?(ahalberstadt)
Comment on attachment 755949 [details] [diff] [review] Make dmcli parseable by python 2.6 Review of attachment 755949 [details] [diff] [review]: ----------------------------------------------------------------- Just be glad they are running python 2.6 and not 2.4/2.5 like they were until recently ;)
Attachment #755949 - Flags: review?(ahalberstadt) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: