Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Brian Dolbec" <brian.dolbec@...>
Subject: proj/layman:master commit in: layman/overlays/
Date: Mon, 26 Sep 2011 01:18:37 +0000 (UTC)
commit:     1160eeb2569486785c0568cd84090e4029cc0747
Author:     dol-sen <brian.dolbec <AT> gmail <DOT> com>
AuthorDate: Mon Sep 26 01:17:11 2011 +0000
Commit:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Mon Sep 26 01:17:11 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=1160eeb2

fix a py3 failure, because the file was not opened in binary mode.

---
 layman/overlays/tar.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layman/overlays/tar.py b/layman/overlays/tar.py
index 5d66acc..c6f2443 100644
--- a/layman/overlays/tar.py
+++ b/layman/overlays/tar.py
@@ -118,7 +118,7 @@ class TarOverlay(OverlaySource):
         pkg = path([base, self.parent.name + ext])
 
         try:
-            out_file = open(pkg, 'w')
+            out_file = open(pkg, 'w+b')
             out_file.write(tar)
             out_file.close()
         except Exception, error:


Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
proj/layman:master commit in: layman/overlays/
Next by thread:
proj/layman:1.4.x commit in: layman/overlays/, bin/
Previous by date:
gentoo-x86 commit in media-libs/libmatroska: ChangeLog libmatroska-1.3.0.ebuild
Next by date:
dev/blueness:master commit in: net-misc/tinc/, net-misc/tinc/files/


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.