enigma2: fixed patch for tarball
[openembedded.git] / recipes / enigma2 / enigma2 / 0001-fixed-typo.patch
1 From 7e38784ad5f45def7f63fad5231a78c0b50edff7 Mon Sep 17 00:00:00 2001
2 From: ghost <andreas.monzner@dream-property.net>
3 Date: Sat, 11 Feb 2012 01:17:45 +0100
4 Subject: [PATCH] fixed typo
5
6 ---
7  usr/lib/enigma2/python/Screens/HarddiskSetup.py |   20 ++++++++++----------
8  1 files changed, 10 insertions(+), 10 deletions(-)
9
10 diff --git a/lib/python/Screens/HarddiskSetup.py b/lib/python/Screens/HarddiskSetup.py
11 index 5dd50fc..e2887cf 100644
12 --- a/usr/lib/enigma2/python/Screens/HarddiskSetup.py
13 +++ b/usr/lib/enigma2/python/Screens/HarddiskSetup.py
14 @@ -1126,24 +1126,24 @@ class HarddiskDriveSelection(Screen, HelpableScreen):
15                                         titletext = _("Storage device already configured!")
16  
17                         if harddiskmanager.HDDCount() and not harddiskmanager.HDDEnabledCount():
18 -                               choises = defaultmsg + mountmsg + manualmsg
19 +                               choices = defaultmsg + mountmsg + manualmsg
20                         elif harddiskmanager.HDDEnabledCount() and defaultStorageDevice() == "<undefined>":
21 -                               choises = defaultmsg + unmountmsg + manualmsg
22 +                               choices = defaultmsg + unmountmsg + manualmsg
23                         elif uuid_cfg is not None and uuid_cfg['enabled'].value and defaultStorageDevice() == "<undefined>":
24 -                               choises = defaultmsg + unmountmsg + manualmsg
25 +                               choices = defaultmsg + unmountmsg + manualmsg
26                         elif uuid_cfg is not None and uuid_cfg['enabled'].value and defaultStorageDevice() == uuid:
27 -                               choises = unmountmsg + manualmsg
28 +                               choices = unmountmsg + manualmsg
29                         elif uuid_cfg is not None and not uuid_cfg['enabled'].value and defaultStorageDevice() == uuid:
30 -                               choises = mountmsg + manualmsg
31 +                               choices = mountmsg + manualmsg
32                         elif uuid_cfg is not None and not uuid_cfg['enabled'].value and defaultStorageDevice() == "<undefined>":
33 -                               choises = defaultmsg + unmountmsg + manualmsg
34 +                               choices = defaultmsg + unmountmsg + manualmsg
35                         elif uuid_cfg is not None and uuid_cfg['enabled'].value and defaultStorageDevice() != uuid:
36 -                               choises = unmountmsg + manualmsg + defaultmsg
37 +                               choices = unmountmsg + manualmsg + defaultmsg
38                         elif uuid_cfg is not None and not uuid_cfg['enabled'].value and defaultStorageDevice() != uuid:
39 -                               choises = mountmsg + manualmsg + defaultmsg
40 +                               choices = mountmsg + manualmsg + defaultmsg
41                         else:
42 -                               choises = ()
43 -                       choises += ( (_("Do nothing."), "nothing"),)
44 +                               choices = ()
45 +                       choices += ( (_("Do nothing."), "nothing"),)
46  
47                         if numpart >= 2 and partitionNum is False:
48                                 self.updatePartitionList(selection[1])
49 -- 
50 1.7.9
51