Commits

Anonymous committed 0a88aa3

added punky exceptions to package root and browster.__all__

Comments (0)

Files changed (2)

punky/__init__.py

-from browster import Browster
+from browster import (
+    Browster,
+    PunkyError,
+    PunkyElementNotFound,
+    PunkyFormControlMismatch,
+    PunkyTimeout,
+)
 
 __version__ = '0.3.1'

punky/browster.py

 # promote products derived from this software without specific prior written
 # permission.
 
-
 import sys
 import time
 
 from PyQt4.QtNetwork import QNetworkRequest
 from PyQt4.QtWebKit import QWebElement, QWebPage, QWebView, QWebSettings
 
+
 SUPPORTED_STRING_INPUT_TYPES = ('text',
                                 'password',
                                 'datetime',
     from PyQt4.QtCore import pyqtRemoveInputHook
     pyqtRemoveInputHook()
 
-__all__ = ['Browster']
+
+__all__ = [
+    'Browster',
+    'PunkyError',
+    'PunkyElementNotFound',
+    'PunkyFormControlMismatch',
+    'PunkyTimeout',
+]
 
 
 class Browster(object):