]> git.decadent.org.uk Git - dak.git/blobdiff - utils.py
add OverrideSuite for w-p-u
[dak.git] / utils.py
index 5089f203710a7e7b33e01a2d2add408d5c0abfcb..4d6115b4d819fe173555744002afdde080e78286 100644 (file)
--- a/utils.py
+++ b/utils.py
@@ -1,6 +1,6 @@
 # Utility functions
 # Copyright (C) 2000, 2001, 2002  James Troup <james@nocrew.org>
-# $Id: utils.py,v 1.46 2002-05-23 12:36:15 troup Exp $
+# $Id: utils.py,v 1.47 2002-06-08 00:18:02 troup Exp $
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -530,6 +530,11 @@ def validate_changes_file_arg(file, fatal=1):
 
 ################################################################################
 
+def real_arch(arch):
+    return (arch != "source" and arch != "all");
+
+################################################################################
+
 def get_conf():
        return Cnf;