Skip to content
Commits on Sep 17, 2015
  1. More thrift.compiler tweaks

    committed
    - whitespace fix
    - use six.iteritems instead of .iteritems() method
    - explicitly pass mode='w' when writing to NamedTemporaryFile for importThriftStr
  2. Make compiler.{get|require}_executable public

    committed
    Some internal functions in thrift.compiler are reusable in unit tests.
    Explicitly expose them and use them.
Commits on Aug 19, 2015
  1. Version bump to 0.7.3

    committed
  2. Fix bug in file unittest exposed by mock changes

    committed
    Previously, Mock was returning a mock object on accesses to all
    undefined attributes, so when calling `assert_called`, we'd get
    back a mock object which is implicitly True.
    
    Newer versions of mock seem to correctly raise an AttributeError,
    so we need to use the correct function.
  3. [thrift] Add more useful error for multiple processors when MULTIPLEX…

    committed
    …=False
    
    Suggest setting MULTIPLEX = True on your server
Commits on Aug 7, 2015
  1. ThriftClient should throw during constructor on invalid module

    committed
    When the compiled thrift module is passed instead of the service module,
    throw in the constructor with a helpful error message.
Commits on Jul 12, 2015
  1. Merge pull request #101 from bboozzoo/bboozzoo/sdist-license

    committed
    manifest: add manifest
  2. @bboozzoo

    manifest: add manifest

    bboozzoo committed
    Adding MANIFEST so that both LICENSE and PATENTS will be picked up for
    source dist. Although not required this is generally useful when
    packaging for Linux distributions.
    
    Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Commits on Jul 5, 2015
  1. Set Twisted maxversion <15.2 for py3.2

    committed
    Even though Twisted doesn't seem to officially support python3.2,
    Twisted-15.2 explicitly breaks the parts of Twisted that we're using
    in sparts.
    
    Set a max version for now, but we should consider disabling the Twisted
    bits entirely for 3.2 in the long-term.
Commits on Jul 4, 2015
  1. Handle missing directories in DirectoryWatcherTask more gracefully

    committed
    Instead of crashing on ENOENT, catch it and log a warning.
    
    A new test case verified we no longer break.
    
    Fixes #56
  2. Add test case for #56

    committed
  3. Update tests/tasks/test_file.py to use NamedTemporaryDirectory

    committed
    ...instead of mkdtemp directly.
    
    Tests still pass.
  4. Added readfilebytes and writefilebytes

    committed
    These methods are like readfile and writefile, but don't treat the
    output/input as unicode respectively.
Commits on Apr 11, 2015
  1. Play more nicely with test frameworks that hijack sys.stdout

    committed
    Some test frameworks replace sys.stdout with a StringIO.  StringIO
    doesn't have an `encoding` attribute.  In this case, fall back to
    sys.getdefaultencoding()
Commits on Apr 10, 2015
Commits on Apr 7, 2015
  1. setup.py: ignore empty lines

    committed
  2. Version bump to 0.7.2 for release

    committed
    Also updated CHANGES (adding another note about dbus stability)
Commits on Apr 4, 2015
  1. Merge pull request #98 from bboozzoo/bboozzoo/dbus-threading-fixes-fo…

    committed
    …r-upstream
    
    dbus: multithreading fixes
Commits on Apr 3, 2015
  1. @bboozzoo

    dbus: init glib threading during DBusMainLoopTask init

    bboozzoo committed
    Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
  2. @bboozzoo

    dbus: move commented out bus.close() to asyncStopCb

    bboozzoo committed
    Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Commits on Apr 1, 2015
  1. @bboozzoo
  2. @bboozzoo
Commits on Mar 31, 2015
  1. @bboozzoo

    setup: whitespace cleanup

    bboozzoo committed
  2. @bboozzoo

    dbus: refactor tests to make passive checks

    bboozzoo committed
    To avoid direct calls to dbus, make passive checks for class field
    that is set only if the service failed to acquire the desired name.
Something went wrong with that request. Please try again.