Author: Ed Leafe
Posted: 2012-01-12 at 11:43:28
On Jan 12, 2012, at 10:31 AM, Paul McNett wrote:
> Actually, there isn't a try block:
>
> http://trac.dabodev.com/browser/trunk/demo/samples/dLinePlot.py
Strange! Running svn blame I see:
[ed@Homer ~/projects/dabo/ui/uiwx]$ svn blame dLinePlot.py
3519 paul # -*- coding: utf-8 -*-
3519 paul import wx
3519 paul import wx.lib.plot as plot
3519 paul
3742 ed try:
3742 ed import numpy.oldnumeric as _Numeric
3742 ed except ImportError:
3742 ed _Numeric = False
3742 ed except StandardError, e:
3742 ed # Report the error, and abandon the import
5958 ed dabo.log.error(_("Error importing numpy.oldnumeric: %s") % e)
3742 ed _Numeric = False
3519 paul
3519 paul import dabo
3519 paul import dabo.dEvents as dEvents
3519 paul if __name__ == "__main__":
3519 paul dabo.ui.loadUI("wx")
3519 paul import dControlMixin as cm
3519 paul from dabo.ui import makeDynamicProperty
3519 paul from dabo.dLocalize import _
5919 ed from dabo.lib.utils import ustr
( -or- http://j.mp/A2uxxB )
I can't find where it was removed in the change logs. It isn't removed in my svn repo.
-- Ed Leafe
_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/FBEC98C6-9CD5-425B-AB75-298EBBD48374@leafe.com