#Copyright (C) 2012 NV Access Limited\r
\r
"""Update checking functionality.\r
+@note: This module may raise C{RuntimeError} on import if update checking for this build is not supported.\r
"""\r
\r
+import versionInfo\r
+if not versionInfo.updateVersionType:\r
+ raise RuntimeError("No update version type, update checking not supported")\r
+\r
import sys\r
import os\r
import threading\r
import time\r
import urllib\r
import wx\r
-import versionInfo\r
import languageHandler\r
import gui\r
from logHandler import log\r