Did I find the right examples for you? yes no

All Samples(6)  |  Call(0)  |  Derive(0)  |  Import(6)

src/p/i/picard-HEAD/picard/util/cdrom.py   picard(Download)
 
try:
    from libdiscid.compat import discid
except ImportError:
    try:

src/p/i/picard-HEAD/picard/disc.py   picard(Download)
try:
    # use python-libdiscid (http://pythonhosted.org/python-libdiscid/)
    from libdiscid.compat import discid
except ImportError:
    try:

src/m/u/musicbrainz-isrcsubmit-HEAD/isrcsubmit.py   musicbrainz-isrcsubmit(Download)
except ImportError:
    try:
        from libdiscid.compat import discid
        from libdiscid.compat.discid import DiscError
    except ImportError:

src/i/s/isrcsubmit-2.0.0-beta.5/isrcsubmit.py   isrcsubmit(Download)
except ImportError:
    try:
        from libdiscid.compat import discid
        from libdiscid.compat.discid import DiscError
    except ImportError:

src/m/u/musicbrainz-isrcsubmit-HEAD/test_isrcsubmit.py   musicbrainz-isrcsubmit(Download)
    from discid import DiscError
except ImportError:
    from libdiscid.compat import discid
    from libdiscid.compat.discid import DiscError
 

src/p/y/python-libdiscid-0.4.1/libdiscid/tests/test_compat_discid.py   python-libdiscid(Download)
  import unittest
import libdiscid
from libdiscid.compat import discid
from libdiscid.compat.discid import DiscError, TOCError