diff --git a/lib/debian/arfile.py b/lib/debian/arfile.py
index a5bda490014d52d4709a976f0981ccce47173b5b..860c7e0ee386b9c8208a41636ff39121b757cf2c 100644
--- a/lib/debian/arfile.py
+++ b/lib/debian/arfile.py
@@ -48,7 +48,6 @@ FILE_MAGIC = b"`\n"
 
 class ArError(Exception):
     """ Common base for all exceptions raised within the arfile module """
-    pass
 
 
 class ArFile(object):
diff --git a/lib/debian/deb822.py b/lib/debian/deb822.py
index 9857f37734d767329eb4e404a37542bb4f5ecf23..1e5b29bfcc03c1196ad6b9816962c5699157598a 100644
--- a/lib/debian/deb822.py
+++ b/lib/debian/deb822.py
@@ -1108,7 +1108,6 @@ class GpgInfo(dict):
 # XXX handle utf-8 %-encoding
     def uid(self):
         """Return the primary ID of the signee key, None is not available"""
-        pass
 
     @classmethod
     def from_output(cls, out, err=None):