On Fri, Jan 29, 2010 at 9:12 AM, Daniel Ellis <email address hidden> wrote:
> If this patch is to be included in the Ubuntu repository, it will need
> updating to **require** the package python_pyexiv2. If anyone knows how
> to make python continue if a certain import statement fails, then we
> could make videoporama just recommend python_pyexiv2 instead of
> requiring it.
>
Of course you can wrap your import statements with try&except:
try:
import pyexiv2
except ImportError:
pass # alternatively you can also print a warning
On Fri, Jan 29, 2010 at 9:12 AM, Daniel Ellis <email address hidden> wrote:
> If this patch is to be included in the Ubuntu repository, it will need
> updating to **require** the package python_pyexiv2. If anyone knows how
> to make python continue if a certain import statement fails, then we
> could make videoporama just recommend python_pyexiv2 instead of
> requiring it.
>
Of course you can wrap your import statements with try&except:
try:
import pyexiv2
except ImportError:
pass # alternatively you can also print a warning
BTW, thank you for sending patch to upstream!
-- www.alessiotreg lia.com
Alessio Treglia <email address hidden>
Ubuntu MOTU Developer | Homepage: http://
0FEC 59A5 E18E E04F 6D40 593B 45D4 8C7C DCFC 3FD0