roomservice: Remove python2 imports
Change-Id: Id65a4c139f14106632587634c42ef9941b55d0c1
diff --git a/build/tools/roomservice.py b/build/tools/roomservice.py
index 0ba31d8..8cc81c5 100755
--- a/build/tools/roomservice.py
+++ b/build/tools/roomservice.py
@@ -24,15 +24,7 @@
import re
from xml.etree import ElementTree as ES
# Use the urllib importer from the Cyanogenmod roomservice
-try:
- # For python3
- import urllib.request
-except ImportError:
- # For python2
- import imp
- import urllib2
- urllib = imp.new_module('urllib')
- urllib.request = urllib2
+import urllib.request
# Config
# set this to the default remote to use in repo