This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class IPublicAvatar(IPublicObject): | |
name = PublicAttribute() | |
peer = PublicAttribute() | |
class PublicAvatarAdapter(object): | |
delegates(IPublicAvatar) | |
def __init__(self, context): | |
self.context = context | |
service_avatar = ServiceAvatar() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/docs/_extensions/apilinks.py b/docs/_extensions/apilinks.py | |
index 656d350..7b939fb 100644 | |
--- a/docs/_extensions/apilinks.py | |
+++ b/docs/_extensions/apilinks.py | |
@@ -23,15 +23,21 @@ def make_api_link(name, rawtext, text, lineno, inliner, | |
full_name = full_name.strip() | |
label = label.strip('>').strip() | |
else: | |
- full_name = label = text | |
+ full_name = text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# WARNING: This code does not work / had bugs ... is is just an idea. | |
# | |
def getChild(self, name, request): | |
""" | |
Return the resource for the request. | |
It will accumulate segments until we are at the end of the URL and | |
only then will do the filesystem check and return the final resource. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(venv) | |
/home/adi/chevah/pydoctor/trunk ----------------------------------------- @pp | |
$ nosetests pydoctor | |
..............................E........E...F..................... | |
====================================================================== | |
ERROR: Failure: ImportError (No module named py) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 390, in loadTestsFromName | |
addr.filename, addr.module) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ host -a deckbox.org | |
Trying "deckbox.org" | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7848 | |
;; flags: qr rd ra; QUERY: 1, ANSWER: 12, AUTHORITY: 0, ADDITIONAL: 9 | |
;; QUESTION SECTION: | |
;deckbox.org. IN ANY | |
;; ANSWER SECTION: | |
deckbox.org. 86400 IN SOA ns1.deckbox.org. contact.deckbox.org. 9 86400 7200 3600000 86400 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some changes might be bold, but I tried to reduce noise level by reducing the amount of links that are referenced in this page. | |
Update links for removed Lore file. | |
Add info about changing wiki pages. | |
Move all info about working with ticket into ticket managemetn | |
Removed SVN commands and reference the VcsWorklow page as the place where VCS details are contained. | |
In this way we don't need to spread specific command all over the wiki. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def __init__() | |
self._login_recorder = LoginRecorder() | |
def handleEventAction(self, event): | |
""" | |
Perform associate actions for `event`. | |
""" | |
if self.configuration.server.reporter: | |
self._login_recorder.eventReceived(event) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import time | |
import logging | |
from watchdog.observers import Observer | |
from watchdog.events import LoggingEventHandler | |
class ObserverThread(Observer): | |
""" | |
Patched watched.Observer. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Execute external processes. | |
""" | |
import os | |
from twisted.internet import reactor, error, defer | |
from twisted.internet.protocol import ProcessProtocol | |
SPAWN_PROCESS_TIMEOUT = 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Copyright (c) Twisted Matrix Laboratories. | |
# See LICENSE for details. | |
from twisted.cred import portal, checkers | |
from twisted.conch import error, avatar | |
from twisted.conch.checkers import SSHPublicKeyDatabase | |
from twisted.conch.ssh import factory, userauth, connection, keys, session | |
from twisted.internet import reactor, protocol, defer |
OlderNewer