My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 247: Unnecessary code
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  May 2010


 
Reported by JohanOPe...@gmail.com, May 12, 2010
I'd just like to report this line of code in scatter.py:

192. if self._scale < self.scale_min or \
193.    self.scale_max is not None and self._scale > self.scale_max:
194.             scale = self.scale_max
195.             self._scale = old_scale
196.             scale = 1

The double assignment to scale is unnecessary, i.e. line 194 can be deleted. 

No biggie, just thought I'd let you know. =).
/Johan
May 15, 2010
Project Member #1 txprog
fixed, thanks
Status: Done
Labels: Milestone-0.4.1 Component-Core
Jul 2, 2010
Project Member #2 txprog
(No comment was entered for this change.)
Labels: Milestone-0.5

Powered by Google Project Hosting