From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 749A2138204 for ; Thu, 17 Oct 2013 03:16:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DEEDE0A03; Thu, 17 Oct 2013 03:16:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 316E0E0A03 for ; Thu, 17 Oct 2013 03:16:18 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 155CE33EFAE for ; Thu, 17 Oct 2013 03:16:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id BB94CE5308 for ; Thu, 17 Oct 2013 03:16:15 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1381979095.cad72683e6b2d347e0c45e98b9bd5a1807773838.dol-sen@gentoo> Subject: [gentoo-commits] proj/mirrorselect:master commit in: mirrorselect/ X-VCS-Repository: proj/mirrorselect X-VCS-Files: mirrorselect/main.py mirrorselect/output.py X-VCS-Directories: mirrorselect/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: cad72683e6b2d347e0c45e98b9bd5a1807773838 X-VCS-Branch: master Date: Thu, 17 Oct 2013 03:16:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dad9f8d6-f02c-48cf-b079-c59633729be1 X-Archives-Hash: f62623c332a1958026361f70b3485a0f commit: cad72683e6b2d347e0c45e98b9bd5a1807773838 Author: Brian Dolbec gentoo org> AuthorDate: Thu Oct 17 03:04:55 2013 +0000 Commit: Brian Dolbec gmail com> CommitDate: Thu Oct 17 03:04:55 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mirrorselect.git;a=commit;h=cad72683 remove unused unicode variable --- mirrorselect/main.py | 6 ------ mirrorselect/output.py | 6 ------ 2 files changed, 12 deletions(-) diff --git a/mirrorselect/main.py b/mirrorselect/main.py index 61fd5c2..ca7d794 100755 --- a/mirrorselect/main.py +++ b/mirrorselect/main.py @@ -62,12 +62,6 @@ if "GENTOO_PORTAGE_EPREFIX" in EPREFIX: EPREFIX = '' -if sys.hexversion >= 0x3000000: - _unicode = str -else: - _unicode = unicode - - class MirrorSelect(object): '''Main operational class''' diff --git a/mirrorselect/output.py b/mirrorselect/output.py index 31aa984..5854000 100644 --- a/mirrorselect/output.py +++ b/mirrorselect/output.py @@ -37,12 +37,6 @@ import locale from optparse import IndentedHelpFormatter -if sys.hexversion >= 0x3000000: - _unicode = str -else: - _unicode = unicode - - def encoder(text, _encoding_): return codecs.encode(text, _encoding_, 'replace')