From 3e5c66a3c15b256987d7ceefb36003b770720414 Mon Sep 17 00:00:00 2001
From: Duncaen <mail@duncano.de>
Date: Sun, 8 Feb 2015 00:57:07 +0100
Subject: [PATCH] wicd: fix wicd-curses urwid patch

---
 srcpkgs/wicd/patches/wicd-1.7.3-urwid-1.3.0.patch | 2 +-
 srcpkgs/wicd/template                             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/wicd/patches/wicd-1.7.3-urwid-1.3.0.patch b/srcpkgs/wicd/patches/wicd-1.7.3-urwid-1.3.0.patch
index 51fc6cbeb7..4333307526 100644
--- a/srcpkgs/wicd/patches/wicd-1.7.3-urwid-1.3.0.patch
+++ b/srcpkgs/wicd/patches/wicd-1.7.3-urwid-1.3.0.patch
@@ -9,7 +9,7 @@
 +        input_data = ui.get_input()
          # Resolve any "alarms" in the waiting
 -        self.handle_keys(input_data[1])
-+        self.handle_keys(input_data)
++        self.handle_keys(input_data or [])
  
          # Update the screen
          canvas = self.frame.render((self.size), True)
diff --git a/srcpkgs/wicd/template b/srcpkgs/wicd/template
index 771354ce99..306b71c453 100644
--- a/srcpkgs/wicd/template
+++ b/srcpkgs/wicd/template
@@ -1,7 +1,7 @@
 # Template file for 'wicd'
 pkgname=wicd
 version=1.7.3
-revision=2
+revision=3
 noarch=yes
 build_options="systemd"
 hostmakedepends="python python-setuptools python-Babel"