Skip to content
This repository was archived by the owner on Jun 18, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions UrbanDict/SOAP.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@
import base64
import cgi
import urllib
import exceptions
import copy
import re
import socket
Expand Down Expand Up @@ -118,7 +117,7 @@
################################################################################
# Exceptions
################################################################################
class Error(exceptions.Exception):
class Error(Exception):
def __init__(self, msg):
self.msg = msg
def __str__(self):
Expand Down Expand Up @@ -1880,7 +1879,7 @@ def cleanDate(d, first = 0):
if d[2] > months[d[1]] + leap:
raise ValueError, "day out of range"

class UnderflowError(exceptions.ArithmeticError):
class UnderflowError(ArithmeticError):
pass

def debugHeader(title):
Expand Down
1 change: 1 addition & 0 deletions UrbanDict/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@

import config
import plugin
from imp import reload
reload(plugin) # In case we're being reloaded.
# Add more reloads here if you add third-party modules and want them to be
# reloaded when this plugin is reloaded. Don't forget to import them as well!
Expand Down