~ubuntu-branches/ubuntu/utopic/lazygal/utopic

« back to all changes in this revision

Viewing changes to lazygal/__init__.py

  • Committer: Package Import Robot
  • Author(s): Michal Čihař, Michal Čihař, Jakub Wilk
  • Date: 2013-06-06 12:05:08 UTC
  • mfrom: (1.2.13)
  • Revision ID: package-import@ubuntu.com-20130606120508-e3g94vl8w9pw7za7
Tags: 0.8-1
[ Michal Čihař ]
* New upstream release.
  - Uses new Genshi templates (Closes: #696682).
  - Correctly handles wronly encoded artist in EXIF (Closes: #696648).
  - Uses GExiv2 (LP: #1074028).
* Depend on GExiv2 instead of pyexiv2.
* Bump standards to 3.9.4.
* Use debhelper 9.

[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
import os
19
19
 
20
20
 
21
 
__all__ = [
22
 
        'generators',
23
 
        ]
 
21
__all__ = ['generators', ]
24
22
 
25
23
 
26
24
# Compute installation prefix
42
40
        if not os.path.isdir(os.path.join(lazygal_dir, '.hg')):
43
41
            raise IOError
44
42
 
45
 
        import mercurial.hg, mercurial.ui, mercurial.node
 
43
        import mercurial.hg
 
44
        import mercurial.node
 
45
        import mercurial.ui
46
46
        repo = mercurial.hg.repository(mercurial.ui.ui(), lazygal_dir)
47
47
 
48
48
        last_revs = repo.changelog.parents(repo.dirstate.parents()[0])
58
58
        return ''
59
59
 
60
60
 
61
 
__version__ = '0.7.4'
 
61
__version__ = '0.8'
62
62
 
63
63
hg_rev = get_hg_rev()
64
64
if hg_rev: __version__ += '+hg' + hg_rev