aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/binrepo.py
diff options
context:
space:
mode:
Diffstat (limited to 'MgaRepo/binrepo.py')
-rw-r--r--MgaRepo/binrepo.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/MgaRepo/binrepo.py b/MgaRepo/binrepo.py
index 747f3eb..a0151a7 100644
--- a/MgaRepo/binrepo.py
+++ b/MgaRepo/binrepo.py
@@ -120,7 +120,11 @@ def import_binaries(topdir, pkgname):
def parse_sources(path):
entries = {}
- f = open(path)
+ try:
+ f = open(path)
+ except IOError:
+ return []
+
for rawline in f:
line = rawline.strip()
try: