Add python3 support

This commit is contained in:
Safa Ariman
2019-06-06 01:31:19 +03:00
parent 68344a2d87
commit c90351220c
146 changed files with 806 additions and 1082 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
import os
import urllib2
import urllib.request, urllib.error, urllib.parse
import piksemel
@@ -12,7 +12,7 @@ authors = {}
def get_author_name_mail(author):
if not authors:
accounts = urllib2.urlopen(accounts_url)
accounts = urllib.request.urlopen(accounts_url)
for line in accounts:
if line.startswith("#"):
continue