diff options
-rw-r--r-- | pym/portage/util/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/util/__init__.py b/pym/portage/util/__init__.py index ece0806e2..31a808b0c 100644 --- a/pym/portage/util/__init__.py +++ b/pym/portage/util/__init__.py @@ -390,7 +390,7 @@ def read_corresponding_eapi_file(filename): f = open(eapi_file, "r") lines = f.readlines() if len(lines) == 1: - eapi = lines[0] + eapi = lines[0].rstrip("\n") else: writemsg(_("--- Invalid 'eapi' file (doesn't contain exactly one line): %s\n") % (eapi_file), noiselevel=-1) |