Permalink
Browse files

PEP8: Message line shortened

  • Loading branch information...
1 parent d6a311a commit 1b40d88e86f677baf0c535a507f1f91e7d03aa62 lfottaviano committed Mar 30, 2012
Showing with 6 additions and 4 deletions.
  1. +6 −4 emesene/gui/base/Message.py
@@ -26,9 +26,10 @@ class Message(object):
'''a class that represents a message to be used by the adium themes
'''
- def __init__(self, incoming, first, sender, display_name, alias, image_path,
- status_path, message, status, service='MSN', classes='',
- direction='ltr', timestamp=None, msgtype=None, msgstyle=None):
+ def __init__(self, incoming, first, sender, display_name,
+ alias, image_path, status_path, message, status,
+ service='MSN', classes='', direction='ltr',
+ timestamp=None, msgtype=None, msgstyle=None):
'''constructor, see
http://trac.adium.im/wiki/CreatingMessageStyles for more information
of the values
@@ -50,7 +51,8 @@ def __init__(self, incoming, first, sender, display_name, alias, image_path,
self.style = msgstyle
@classmethod
- def from_contact(cls, contact, message, first, incomming, tstamp=None, mtype=None, mstyle=None):
+ def from_contact(cls, contact, message, first, incomming,
+ tstamp=None, mtype=None, mstyle=None):
picture = contact.picture or ''
if not picture or not os.path.exists(picture):

0 comments on commit 1b40d88

Please sign in to comment.