Closed Bug 1115661 Opened 10 years ago Closed 10 years ago

remove unused code from talos: results.py

Categories

(Testing :: Talos, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jmaher, Assigned: ankit.goyal90)

References

Details

(Whiteboard: [good first bug][lang=python])

Attachments

(1 file, 2 obsolete files)

results.py has code to run standalone:
http://hg.mozilla.org/build/talos/file/tip/talos/results.py#l521

In fact, this is a feature we haven't used at all, and we could remove this from the source code so this is just a library.
Attached patch Removed (obsolete) — Splinter Review
Attachment #8541692 - Flags: review?(jmaher)
Comment on attachment 8541692 [details] [diff] [review]
Removed

Review of attachment 8541692 [details] [diff] [review]:
-----------------------------------------------------------------

very nice!  Can you remove unused imports as well.  I know optparse is one, maybe it is the only other one.

One last thing, if you could set a comment on your patch to be:
Bug 1115661 - remove unused code from talos: results.py. r=jmaher

Also setup hg to have your username and make sure you have that set on your patch.
Attachment #8541692 - Flags: review?(jmaher) → review-
Assignee: nobody → ankit.goyal90
Attachment #8541692 - Attachment is obsolete: true
Attachment #8542015 - Flags: review?(jmaher)
Also removed `main` reference from `__all__`
Attachment #8542015 - Attachment is obsolete: true
Attachment #8542015 - Flags: review?(jmaher)
Attachment #8542020 - Flags: review?(jmaher)
Comment on attachment 8542020 [details] [diff] [review]
Bug 1115661 - remove unused code from talos: results.py. r=jmaher

Review of attachment 8542020 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks!  This is nice and clean :)
Attachment #8542020 - Flags: review?(jmaher) → review+
Thanks Ankit for getting this completed!  I know you had expressed interest in fixing bug 776947, do let me know if that is problematic or you have other interests.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: