diff --git a/AUTHORS.txt b/AUTHORS.txt index fd56fb22..34cd212b 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -16,3 +16,4 @@ Yasha Borevich (@jjay) Aaron Griffin andviro (@andviro) Mike Gilbert (@floppym) +Aaron Meurer (@asmeurer) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d0a06573..3ff9f7e2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,8 +6,19 @@ are ok in the master branch. 3. Add your name to AUTHORS.txt 4. Push to your fork and submit a **pull request to the dev branch**. +If you have have previously filed a GitHub issue and want to contribute code +that addresses that issue, we prefer it if you use +[hub](https://github.com/github/hub) to convert your existing issue to a pull +request. To do that, first push the changes to a separate branch in your fork +and then issue the following command: + + hub pull-request -b davidhalter:dev -i -h : + +It's no strict requirement though, if you don't have hub installed or prefer to +use the web interface, then feel free to post a traditional pull request. + My **master** branch is a 100% stable (should be). I only push to it after I am certain that things are working out. Many people are using Jedi directly from the github master branch. -Please use Pep8 to style your code. +Please use PEP8 to style your code. diff --git a/README.rst b/README.rst index 096b3cd4..815c72d8 100644 --- a/README.rst +++ b/README.rst @@ -131,5 +131,5 @@ For more detailed information visit the `testing documentation .. _jedi-vim: https://github.com/davidhalter/jedi-vim .. _youcompleteme: http://valloric.github.io/YouCompleteMe/ .. _Jedi.el: https://github.com/tkf/emacs-jedi -.. _sublimejedi: https://github.com/svaiter/SublimeJEDI +.. _sublimejedi: https://github.com/srusskih/SublimeJEDI .. _wdb: https://github.com/Kozea/wdb diff --git a/docs/index.rst b/docs/index.rst index 8d0e24d5..43006d99 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -56,7 +56,7 @@ Emacs: Sublime Text 2/3: -- `SublimeJEDI `_ +- `SublimeJEDI `_ .. _other-software: diff --git a/setup.py b/setup.py index 63707746..73e87e9b 100755 --- a/setup.py +++ b/setup.py @@ -1,7 +1,11 @@ #!/usr/bin/env python from __future__ import with_statement -from setuptools import setup +try: + from setuptools import setup +except ImportError: + # Distribute is not actually required to install + from distutils.core import setup __AUTHOR__ = 'David Halter' __AUTHOR_EMAIL__ = 'davidhalter88@gmail.com' diff --git a/sith.py b/sith.py index 42805c6f..a27197f8 100755 --- a/sith.py +++ b/sith.py @@ -112,7 +112,10 @@ class TestCase(object): if debugger: einfo = sys.exc_info() pdb = __import__(debugger) - pdb.post_mortem(einfo if debugger == 'pudb' else einfo[2]) + if debugger == 'pudb': + pdb.post_mortem(einfo[2], einfo[0], einfo[1]) + else: + pdb.post_mortem(einfo[2]) exit(1) def show(self):