Changeset 74

Show
Ignore:
Timestamp:
08/08/07 16:34:21 (1 year ago)
Author:
edsuom
Message:

Minor changes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • projects/sAsync/trunk/sasync/database.py

    r57 r74  
    242242        """ 
    243243        Returns a threaded task queue that is dedicated to my database 
    244         connection. Creates the queue if the first time the property is 
    245         accessed. 
     244        connection. Creates the queue the first time the property is accessed. 
    246245        """ 
    247246        def newQueue(): 
  • projects/Twisted-Goodies/trunk/misc/var_www_foss.tellectual.com_index.py

    r71 r74  
    7979 
    8080 
    81 class DisabledResource(StanResource): 
    82     addSlash = False 
    83  
    84     def __init__(self, whatDisabled): 
    85         self.whatDisabled = whatDisabled 
    86         self.title = "%s Temporarily Disabled" % whatDisabled 
    87  
    88     def render(self, request): 
    89         return [ 
    90             T.h2[self.title], 
    91             T.p["Hopefully this should be fixed soon."]] 
    92  
    9381 
    9482class Resource(StanResource): 
     
    222210            listOp('append', 'wiki') 
    223211        root, isAtRoot = rootState(subSegments) 
    224         if root == 'changeset': 
    225             # TODO, hopefully won't need this long 
    226             return DisabledResource("Changeset Listings"), () 
    227212        if root == 'wiki' and len(subSegments) > 1: 
    228213            subRoot = subSegments[1]