From 4a3d4eeff6eb355c4ebae0283f7d432a90f07317 Mon Sep 17 00:00:00 2001 From: lxnay Date: Thu, 25 Sep 2008 17:54:02 +0000 Subject: [PATCH] Entropy/ServerInterface: - openServerDatabase(): force read-write hard ! git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2429 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- libraries/entropy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/entropy.py b/libraries/entropy.py index b2741860c..0eacdf97a 100644 --- a/libraries/entropy.py +++ b/libraries/entropy.py @@ -14879,9 +14879,9 @@ class ServerInterface(TextInterface): header = brown(" @@ "), back = True ) + # force r/w + conn.readOnly = False conn.copyCountersToBranch(from_branch,current_branch) - # since we don't know if conn.commitChanges() will allow us to - # really commit, let's force it conn.connection.commit() conn.connection.commit()