[oe-commits] Chris Larson : clean: rename clean_workdir to remove_workdir

git version control git at git.openembedded.org
Thu Oct 28 00:28:44 UTC 2010


Module: openembedded.git
Branch: master
Commit: 1a7c215aaf0ce46cbabf06fbdaa9d69b9d1ef29c
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=1a7c215aaf0ce46cbabf06fbdaa9d69b9d1ef29c

Author: Chris Larson <chris_larson at mentor.com>
Date:   Wed Oct 27 17:21:58 2010 -0700

clean: rename clean_workdir to remove_workdir

Signed-off-by: Chris Larson <chris_larson at mentor.com>

---

 classes/clean.bbclass |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/classes/clean.bbclass b/classes/clean.bbclass
index fc53a63..94b97e7 100644
--- a/classes/clean.bbclass
+++ b/classes/clean.bbclass
@@ -19,7 +19,7 @@ def clean_stamps(d):
 		except OSError:
 			pass
 
-def clean_workdir(d):
+def remove_workdir(d):
 	from shutil import rmtree
 	from bb import note
 
@@ -54,7 +54,7 @@ python do_clean () {
 		bb.note("Removing staging package %s" % base_path_out(stagepkg, d))
 		os.system('rm -rf ' + stagepkg)
 	clean_stamps(d)
-	clean_workdir(d)
+	remove_workdir(d)
 	clean_builddir(d)
 	clean_make(d)
 }





More information about the Openembedded-commits mailing list