[rhinstaller/anaconda/pulls/204 master] Source spoke master fix

vpodzime installerbot-noreply at redhat.com
Tue Jul 21 08:08:24 UTC 2015


> @@ -403,6 +405,14 @@ def apply(self):
>                  checkmount=False)
>          self.clear_info()
>  
> +    def _repo_id_generator(self):
> +        """ Repository id numbers generator
> +        """
> +        repo_id = 0
> +        while(True):
> +            yield repo_id
> +            repo_id += 1
> +

This should be a more generic thing not taking ``self`` and defined as ``iutil.id_generator``.

-- 
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/204#discussion_r35078172


More information about the anaconda-patches mailing list