archrelease: copy trunk to community-any
[ArchLinux/community.git] / python-j2cli / repos / community-any / version.patch
blobce545d5f27bca01fa0af56bdda89f514c62a2f9c
1 diff --color -aur j2cli-0.3.12b-old/j2cli/__init__.py j2cli-0.3.12b-new/j2cli/__init__.py
2 --- j2cli-0.3.12b-old/j2cli/__init__.py 2022-11-23 00:43:32.691081564 +0200
3 +++ j2cli-0.3.12b-new/j2cli/__init__.py 2022-11-23 00:47:19.301073735 +0200
4 @@ -5,7 +5,11 @@
6 __author__ = "Mark Vartanyan"
7 __email__ = "kolypto@gmail.com"
8 -__version__ = pkg_resources.get_distribution('j2cli').version
10 +try:
11 + __version__ = pkg_resources.get_distribution('j2cli').version
12 +except pkg_resources.DistributionNotFound:
13 + __version__ = '0.3.12b'
15 from j2cli.cli import main