Changeset 264


Ignore:
Timestamp:
07/23/07 17:59:38 (5 years ago)
Author:
marc
Message:

Code cleanup

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r256 r264  
    66 * Don't clean out status labels when restarting server 
    77 * Don't check for system compatibility of Libnotify 
    8  * Cleaning of the code to try to be at least more compatible with PEP-8 
     8 * Code cleanup towards PEP-8 compliance 
    99 * Simplified and improved Makefile 
    1010 
  • trunk/config.py

    r260 r264  
    286286 
    287287        self.config_file = path  
     288 
  • trunk/error.py

    r236 r264  
    2121# $Id$ 
    2222 
    23 """ Itaka error handling exception definitions """ 
     23""" Itaka exceptions """ 
    2424 
    2525class ItakaError(Exception): 
    2626    """ 
    27     Base class for all Itaka Errors 
     27    Base class for all Itaka errors 
    2828    """ 
    2929 
     
    4848        return repr(self.message) 
    4949 
     50 
    5051class ItakaServerError(ItakaError): 
    5152    """ 
     
    5354    """ 
    5455    pass 
     56 
    5557 
    5658class ItakaServerErrorCannotListen(ItakaServerError): 
     
    6062    pass 
    6163 
     64 
    6265class ItakaScreenshotError(ItakaError): 
    6366    """ 
     
    6568    """ 
    6669    pass 
     70 
    6771 
    6872class ItakaScreenshotErrorWmHints(ItakaScreenshotError): 
     
    7276    pass 
    7377 
     78 
    7479class ItakaScreenshotErrorActiveDesktop(ItakaScreenshotError): 
    7580    """ 
     
    7883    pass 
    7984     
     85 
    8086class ItakaSaveScreenshotError(ItakaScreenshotError): 
    8187    """ 
     
    8389    """ 
    8490    pass 
     91 
  • trunk/itaka.py

    r256 r264  
    110110            traceback.print_exc() 
    111111        sys.exit(1) 
     112 
  • trunk/screenshot.py

    r241 r264  
    173173 
    174174        return self.shot_file 
     175 
  • trunk/server.py

    r261 r264  
    514514            self.request.setHeader('Connection', 'close') 
    515515            return self.data 
     516 
  • trunk/uigtk.py

    r263 r264  
    13451345 
    13461346        self.iagotimer = gobject.timeout_add(60000, self._literal_time_difference, time) 
     1347 
Note: See TracChangeset for help on using the changeset viewer.