N
ξ7c       sͺ   k  Z  k Z k Z k Z k l k l k l k	 l
 d  f  d     YZ d f  d     YZ d f  d     YZ d f  d     YZ d f  d	     YZ d
 f  d     YZ d S(   s   PartitionMethodc      s   d   Z  RS(   Nc    s½   | i p
 | i i o d | _ t Sn t | t d  t d  t d  d f t d  d f t d  d	 f g d
 d } | d	 j o t
 Sn$ | d j o d | _ n
 d | _ t Sd  S(   Ni   s
   Disk Setups  Disk Druid is a tool for partitioning and setting up mount points. It is designed to be easier to use than Linux's traditional disk partitioning sofware, fdisk, as well as more powerful. However, there are some cases where fdisk may be preferred.

Which tool would you like to use?s
   Disk Druids   dds   fdisks   fds   Backs   backs   widthi2   i    (   s   todos   experts	   instClasss
   partitionss	   skipFdisks   INSTALL_NOOPs   ButtonChoiceWindows   screens   _s   rcs   INSTALL_BACKs
   INSTALL_OK(   s   selfs   screens   todos   rcsi   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/partitioning.pys   __call__ s    		0	(   s   __call__(    si   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/partitioning.pys   PartitionMethod
 s    s   ManualPartitionWindowc      s   d   Z  RS(   Nc  	  s¨  | i o t Sn | i i   } | i   } | i t i	  g  } d } xP | d rF } | | } | o | i d | | f  n | i d | f  qR Wt }	 xQ|	 d j o
 |	 d j o6t | t d  t d  | t d  d f t d	  d
 f t d  d f g d d \ }	 }
 |	 d j o
 |	 d j o» d } d | _ t | _ | |
 } | i   t i d t i  o
 d } n d } y t i | d |  Wn n Xt i | | d | g  y t i d |  Wn n X| i    n q₯ W| o | i i   i   } | i t i	  g  } x; | i" i#   d r( \ } \ } } } | i | | f  q:Wt( d | | | i) | i  | _ n |	 d j o t* Sn t+ Sd  S(   Ni    s   /dev/%s - %ss   /dev/%ss   dones   backs
   Disk SetupsΧ   To install Red Hat Linux, you must have at least one partition of 150 MB dedicated to Linux. We suggest placing that partition on one of the first two hard drives in your system so you can boot into Linux with LILO.s   Dones   Edits   edits   Backs   widthi2   i   s   /sbin/fdisks   /usr/sbin/fdisks   /tmp/(,   s   todos	   skipFdisks   INSTALL_NOOPs   drivess	   availables   keyss
   driveNamess   sorts   isyss   compareDrivess   choicess
   haveEditeds   devices   descrips   appends   Nones   buttons   ListboxChoiceWindows   screens   _s   choices   ddruidReadOnlys   ddruids   suspends   oss   accesss   X_OKs   paths   makeDevInodes   iutils   execWithRedirects   removes   resumes   fstabs   mountss   itemss   mntpoints   devs   fstypes   reformats   fsedits   zeroMbrs   INSTALL_BACKs
   INSTALL_OK(   s   selfs   screens   todos   drivess
   driveNamess   choicess
   haveEditeds   devices   descrips   buttons   choices   paths   fstabs   mntpoints   devs   fstypes   reformatsi   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/partitioning.pys   __call__% sh    
 	 
 	0		


 (   s   __call__(    si   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/partitioning.pys   ManualPartitionWindow$ s    s   AutoPartitionWindowc      s   d   Z  RS(   Nc  
  s¦  g  } x; | i i   d r( \ } \ } } } | i | | f  q W| i	 or | i
 i   i   } | i t i  t d | | | i | i  | _	 | i i | i	  o | i d  n n | i   o t Sn t | t d  t d  | i   f t d  t d  g d t d t d  \ }	 }
 |	 d	 j o t Sn |
 d
 j oQ | i
 i   i   } | i t i  t d | | d | i  | _	 | i   n d  S(   Ni    s   Autopartitioning FAILED
s   Automatic Partitionings   %s

If you don't want to do this, you can continue with this install by partitioning manually, or you can go back and perform a fully customized installation.s   Continues   Manually partitions   buttonss   defaults   backi   (    s   fstabs   todos   mountss   itemss   mntpoints   devs   fstypes   reformats   appends   ddruids   drivess	   availables   keyss   sorts   isyss   compareDrivess   fsedits   zeroMbrs   ddruidReadOnlys	   instClasss   finishPartitionings   logs   getPartitionWarningTexts   INSTALL_NOOPs   ListboxChoiceWindows   screens   _s   basicButtonss   rcs   choices   INSTALL_BACKs   manuallyPartition(   s   selfs   screens   todos   fstabs   mntpoints   devs   fstypes   reformats   drivess   rcs   choicesi   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/partitioning.pys   __call__k s0      (   s   __call__(    si   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/partitioning.pys   AutoPartitionWindowj s    s   PartitionWindowc      s   d   Z  RS(   Nc    st   t  } | i   o | i i   } n | i   x8 | i i   d r% \ } } } } | i | | |  qC W| Sd  S(   Ni    (   s   INSTALL_NOOPs   dirs   todos   getSkipPartitionings   ddruids   edits   resetMountss   getFstabs	   partitions   mounts   fstypes   sizes   addMount(   s   selfs   screens   todos   dirs	   partitions   mounts   fstypes   sizesi   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/partitioning.pys   __call__ s    
 (   s   __call__(    si   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/partitioning.pys   PartitionWindow s    s   TurnOnSwapWindowc      s   d Z  d   Z RS(   Ni    c    sΘ   |  i p t i   d j o t Sn | i i o^ t | t
 d  t
 d  t
 d  d f t
 d  d f g d d	 } | d j o t Sn n | i i   | i d
 d  d | _ d |  _ t Sd  S(   NiΠ  s
   Low MemorysΈ   As you don't have much memory in this machine, we need to turn on swap space immediately. To do this we'll have to write your new partition table to the disk immediately. Is that okay?s   Yess   yess   Nos   backs   widthi2   s   createFsi    i   (   s   selfs   beenTurnedOns   iutils   memInstalleds   INSTALL_NOOPs   todos	   instClasss   earlySwapOns   ButtonChoiceWindows   screens   _s   rcs   INSTALL_BACKs   ddruids   saves   makeFilesystemss   ddruidAlreadySaveds
   INSTALL_OK(   s   selfs   screens   todos   rcsi   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/partitioning.pys   __call__ s    	-		(   s   beenTurnedOns   __call__(    si   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/partitioning.pys   TurnOnSwapWindow s    s   FormatWindowc      s   d   Z  RS(   Nc    sh  t  d t d   } t | i d t | i i	     } t
 d |  } | i i   } | i   xT | d rJ } | i | \ } }	 }
 |	 d j o! | i d | | f | |
  n qk Wt t d   } t | t d	  d
 f t d  d f f  } t | t d  d d  } | i | d d d d d d f  | i | d d  | i | d d d d d d f  | i | d d d d | i   } xV | i i   d rC } | i | \ } }	 }
 |	 d j o | |	 d f | i | <n q‘WxB | i   d r2 } | i | \ } }	 }
 | |	 d f | i | <qχW| i   | _ | i |  } | d j o t! Sn t" Sd  S(   Ni7   sς   What partitions would you like to format? We strongly suggest formatting all of the system partitions, including /, /usr, and /var. There is no need to format /home or /usr/local if they have already been configured during a previous install.i   s   heighti    s   ext2s   /dev/%s   %ss"   Check for bad blocks during formats   OKs   oks   Backs   backs   Choose Partitions to Formati   i   i   i   s   growx(#   s   TextboxRefloweds   _s   tbs   mins   screens   heights   lens   todos   mountss   itemss   CheckboxTrees   cts   keyss   sorts   mounts   devs   fstypes   formats   appends   Checkboxs   cbs	   ButtonBars   bbs   GridForms   gs   adds   runOnces   results   getSelections   selecteds   badBlockChecks   buttonPresseds   rcs   INSTALL_BACKs
   INSTALL_OK(   s   selfs   screens   todos   tbs   heights   cts   mountss   mounts   devs   fstypes   formats   cbs   bbs   gs   results   rcsi   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/partitioning.pys   __call__² sB    %
	 %-""  (   s   __call__(    si   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/partitioning.pys   FormatWindow± s    N(   s   gettexts   iutils   oss   isyss   snacks   *s   textw.constantss   newtpyfsedits   fsedits   texts   _s   PartitionMethods   ManualPartitionWindows   AutoPartitionWindows   PartitionWindows   TurnOnSwapWindows   FormatWindow(    si   /mnt/redhat/comps/install/6.1/i386/RedHat/instimage/usr/lib/python1.5/site-packages/textw/partitioning.pys   ? s   F!