All of lore.kernel.org
 help / color / mirror / Atom feed
* [[PATCH][AUH] 1/3] Small fixes to use with Python3.
@ 2016-06-20 21:27 Aníbal Limón
  2016-06-20 21:27 ` [[PATCH][AUH] 2/3] upgradehelper.py: Move build of gcc runtime after discover packages Aníbal Limón
  2016-06-20 21:27 ` [[PATCH][AUH] 3/3] upgradehelper.py: Disable _order_pkgs_to_upgrade functionality Aníbal Limón
  0 siblings, 2 replies; 4+ messages in thread
From: Aníbal Limón @ 2016-06-20 21:27 UTC (permalink / raw)
  To: yocto

[YOCTO #9747]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
---
 modules/recipe/svn.py         | 2 +-
 modules/utils/emailhandler.py | 2 +-
 upgradehelper.py              | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/recipe/svn.py b/modules/recipe/svn.py
index 6d60529..6dadafd 100644
--- a/modules/recipe/svn.py
+++ b/modules/recipe/svn.py
@@ -22,7 +22,7 @@
 # Marius Avram      <marius.avram@intel.com>
 #
 
-from base import Recipe
+from recipe.base import Recipe
 
 class SvnRecipe(Recipe):
     pass
diff --git a/modules/utils/emailhandler.py b/modules/utils/emailhandler.py
index 970fb59..8436364 100644
--- a/modules/utils/emailhandler.py
+++ b/modules/utils/emailhandler.py
@@ -33,7 +33,7 @@ from email.mime.base import MIMEBase
 from email.mime.multipart import MIMEMultipart
 from email.generator import Generator
 import shutil
-from cStringIO import StringIO
+from io import StringIO
 
 class Email(object):
     def __init__(self, settings):
diff --git a/upgradehelper.py b/upgradehelper.py
index d4b8afb..499c539 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # vim: set ts=4 sw=4 et:
 #
 # Copyright (c) 2013 - 2014 Intel Corporation
@@ -40,7 +40,7 @@ from logging import critical as C
 import re
 import signal
 import sys
-import ConfigParser as cp
+import configparser as cp
 from datetime import datetime
 from datetime import date
 import shutil
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-21 14:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-20 21:27 [[PATCH][AUH] 1/3] Small fixes to use with Python3 Aníbal Limón
2016-06-20 21:27 ` [[PATCH][AUH] 2/3] upgradehelper.py: Move build of gcc runtime after discover packages Aníbal Limón
2016-06-20 21:27 ` [[PATCH][AUH] 3/3] upgradehelper.py: Disable _order_pkgs_to_upgrade functionality Aníbal Limón
2016-06-21 14:08   ` Leonardo Sandoval

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.