]> git.pld-linux.org Git - packages/pyp2rpm.git/blob - default-savepath.patch
up to 3.3.0
[packages/pyp2rpm.git] / default-savepath.patch
1 --- pyp2rpm-3.3.0/pyp2rpm/utils.py~     2017-12-14 17:50:37.000000000 +0200
2 +++ pyp2rpm-3.3.0/pyp2rpm/utils.py      2018-02-04 14:47:29.799743953 +0200
3 @@ -163,7 +163,6 @@
4      else:
5          save_path = rpm_eval(macro)
6          if not save_path:
7 -            logger.warn("rpm tools are missing, using default save path "
8 -                        "~/rpmbuild/.")
9 -            save_path = os.path.expanduser('~/rpmbuild')
10 +            logger.warn("rpm tools are missing, using current dir as save path.")
11 +            save_path = os.path.expanduser('.')
12      return save_path
This page took 0.05971 seconds and 3 git commands to generate.