1. Nicolas Évrard
  2. hgreview

Commits

Nicolas Évrard  committed 010f8fb

Initialize ui as early as possible

  • Participants
  • Parent commits ec91109
  • Branches default

Comments (0)

Files changed (1)

File hgreview/rietveld.py

View file
  • Ignore whitespace
           account_type: Account type used for authentication. Defaults to
             AUTH_ACCOUNT_TYPE.
         """
+        self.ui = ui
         self.host = host
         if (not self.host.startswith("http://") and
                 not self.host.startswith("https://")):
         self.save_cookies = save_cookies
         self.account_type = account_type
         self.opener = self._GetOpener()
-        self.ui = ui
         if self.host_override:
             logging.info("Server: %s; Host: %s", self.host, self.host_override)
         else: