From fcbfaf6a373eefdf84311da0326c1af28eb7edc3 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 8 Jun 2015 14:57:57 +0200 Subject: git-update: Drop writing git description file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All PKGBUILDs are stored in a single repository now, so there is no use for writing out a description file for the repo anymore. This fixes a bug where pkgdescs containing UTF-8 characters are rejected due to it trying to write the file out using ASCII. Signed-off-by: Johannes Löthberg Signed-off-by: Lukas Fleischer --- git-interface/git-update.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/git-interface/git-update.py b/git-interface/git-update.py index 4177e53..215848e 100755 --- a/git-interface/git-update.py +++ b/git-interface/git-update.py @@ -281,9 +281,3 @@ for pkgname in srcinfo.GetPackageNames(): save_srcinfo(srcinfo, db, cur, user) db.close() - -pkglist = list(srcinfo.GetPackageNames()) -if len(pkglist) > 0: - with open(repo_path + '/description', 'w') as f: - pkginfo = srcinfo.GetMergedPackage(pkglist[0]) - f.write(pkginfo['pkgdesc']) -- cgit v1.2.3-70-g09d2