Skip to content

Commit b4fed47

Browse files
committed
applied requested changes from code review
1 parent 53abda4 commit b4fed47

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

can/interfaces/iscan.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,11 @@ class IscanError(CanError):
152152

153153
def __init__(self, function, error_code, arguments):
154154
super(IscanError, self).__init__()
155-
# Status code
155+
# :Status code
156156
self.error_code = error_code
157-
# Function that failed
157+
# :Function that failed
158158
self.function = function
159-
# Arguments passed to function
159+
# :Arguments passed to function
160160
self.arguments = arguments
161161

162162
def __str__(self):

can/interfaces/pcan/pcan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def __init__(self, channel, *args, **kwargs):
8686
else:
8787
self.channel_info = channel
8888

89-
bitrate = kwargs.get('bitrate', can.rc.get('bitrate', 500000))
89+
bitrate = kwargs.get('bitrate', 500000)
9090
pcan_bitrate = pcan_bitrate_objs.get(bitrate, PCAN_BAUD_500K)
9191

9292
hwtype = PCAN_TYPE_ISA

0 commit comments

Comments
 (0)