[chirp_devel] [PATCH 2 of 3] Change chirp_common.Radio to new-style class. Needed for #553

Tom Hayward
Sun Feb 24 22:04:39 PST 2013


# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1361772241 28800
# Node ID 76cb1fe10e81b41e8fff97b135df498918bfc560
# Parent  84a6dddebc9f88bac90afcd09083fb1665a7ffb4
Change chirp_common.Radio to new-style class. Needed for #553

diff -r 84a6dddebc9f -r 76cb1fe10e81 chirp/chirp_common.py
--- a/chirp/chirp_common.py	Sun Feb 24 22:04:00 2013 -0800
+++ b/chirp/chirp_common.py	Sun Feb 24 22:04:01 2013 -0800
@@ -921,7 +921,7 @@
     """A fatal error during memory validation"""
     pass
 
-class Radio:
+class Radio(object):
     """Base class for all Radio drivers"""
     BAUD_RATE = 9600
     HARDWARE_FLOW = False



More information about the chirp_devel mailing list