Blob Blame History Raw
diff -ru brd/brd brd_patched/brd
--- brd/brd	2018-06-29 15:30:20.603831875 +0200
+++ brd_patched/brd	2018-06-29 15:57:07.076373472 +0200
@@ -30,6 +30,7 @@
 import io
 import sys
 import datetime
+import errno
 
 ###########
 # Globals #
@@ -1948,7 +1949,7 @@
             logging.info("Database fingerprint matches previous fingerprint.")
 
     except OSError as e:
-        if e.errno == os.errno.ENOENT:
+        if e.errno == errno.ENOENT:
             if cmd_args.check_only:
                 logging.info("Unable to open fingerprint file '" + fp_file + 
                              "'!")