~ubuntu-branches/ubuntu/hardy/pitivi/hardy

« back to all changes in this revision

Viewing changes to pitivi/project.py

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2006-07-30 13:20:58 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060730132058-tbhybbgtt9gbpq99
Tags: 0.10.1-1
* New upstream release, "Sister and friend".
* Update to new Python policy.
  - Bump up debhelper build-dep to >= 5.0.37.2.
  - Set Python compatibility level to 2.
  - Add XB-Python-Version to pitivi.
  - Add a python-central (>= 0.4.17) build-dep.
  - Build-depend on cdbs (>= 0.4.43).
  - Add a XS-Python-Version (current).
  - Call dh_pycentral to fill XB-Python-Version and add a pycentral dep, and
    swap the executable bit fixup with the dh_py* calls.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
from sourcelist import SourceList
32
32
from bin import SmartTimelineBin
33
33
from settings import ExportSettings
 
34
from configure import APPNAME
34
35
 
35
36
class Project(gobject.GObject):
36
37
    """ The base class for PiTiVi projects """
92
93
    """ returns True if the given uri is a PitiviProject file"""
93
94
    # TODO
94
95
    if not gst.uri_get_protocol(uri) == "file":
95
 
        raise NotImplementedError("PiTiVi doesn't yet handle non local projects")
 
96
        raise NotImplementedError("%s doesn't yet handle non local projects" % APPNAME)
96
97
    return os.path.isfile(gst.uri_get_location(uri))
97
98