[SCM] ci-tooling packaging branch, master, updated. f7510c0d6591c1ba094911c0eea915852791f9fd
Harald Sitter
apachelogger-guest at moszumanska.debian.org
Tue May 12 10:03:57 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=5615ee4
The following commit has been merged in the master branch:
commit 5615ee48fb273e4f8eb9a3ec87778fa3548b9594
Author: Harald Sitter <sitter at kde.org>
Date: Tue May 12 12:02:57 2015 +0200
add a rest method to the repository class to reset the instance
---
lib/apt.rb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/apt.rb b/lib/apt.rb
index 8874693..990dfa5 100644
--- a/lib/apt.rb
+++ b/lib/apt.rb
@@ -42,6 +42,11 @@ module Apt
Apt.install('software-properties-common')
@add_apt_repository_installed = true
end
+
+ def reset
+ return unless defined?(@add_apt_repository_installed)
+ remove_instance_variable(:@add_apt_repository_installed)
+ end
end
end
--
ci-tooling packaging
More information about the pkg-kde-commits
mailing list