def update_status(self, msg):

        self.connect()

        if self.twitter_api != None:
            # Twitter doesn't like the same msg sent over and over, so add a timestamp
            msg = strftime("%Y-%m-%d %H:%M:%S: ") + msg

            self.logger.info("Updating Twitter status to: %s", msg)
            try:
                self.twitter_api.update_status(status=truncate(msg, 140))
            except tweepy.error.TweepError as ex:
                self.logger.error("Unable to update Twitter status: %s", ex)

##############################################################################
# Email support
##############################################################################
Returns the linear units.
dataset/ETHPy150Open rllynch/pi_garage_alert/bin/pi_garage_alert.py/Twitter.update_status--crossover with--dataset/ETHPy150Open django/django/django/contrib/gis/db/backends/base/models.py/SpatialRefSysMixin.linear_units