diff options
Diffstat (limited to 'bitbake/lib/bb/persist_data.py')
-rw-r--r-- | bitbake/lib/bb/persist_data.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bitbake/lib/bb/persist_data.py b/bitbake/lib/bb/persist_data.py index 1d60a0a139..bc4045fe85 100644 --- a/bitbake/lib/bb/persist_data.py +++ b/bitbake/lib/bb/persist_data.py | |||
@@ -69,16 +69,6 @@ class PersistData: | |||
69 | """ | 69 | """ |
70 | self.connection.execute("DROP TABLE IF EXISTS %s;" % domain) | 70 | self.connection.execute("DROP TABLE IF EXISTS %s;" % domain) |
71 | 71 | ||
72 | |||
73 | def renameDomain(self, domain, newdomain): | ||
74 | """ | ||
75 | Renames a domain, removing the target if it already exists | ||
76 | """ | ||
77 | |||
78 | self.connection.execute("DROP TABLE IF EXISTS %s;" % newdomain) | ||
79 | self.addDomain(domain) | ||
80 | self.connection.execute("ALTER TABLE %s RENAME TO %s;" % (domain, newdomain)) | ||
81 | |||
82 | def getKeyValues(self, domain): | 72 | def getKeyValues(self, domain): |
83 | """ | 73 | """ |
84 | Return a list of key + value pairs for a domain | 74 | Return a list of key + value pairs for a domain |