hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
8904d36befa0cbb86b8089d6367ac19683338406 | diff --git a/src/core.js b/src/core.js
index <HASH>..<HASH> 100644
--- a/src/core.js
+++ b/src/core.js
@@ -986,7 +986,7 @@ Crafty.extend({
init: function () {
// When first called, set the gametime one frame before now!
if (typeof gameTime === "undefined")
- ... | Use getTime method instead of implicit conversion
This doesn't change anything in the behaviour, but it encourages good js
practices.
See also performances <URL> | craftyjs_Crafty | train |
bf4dbb6a34e49e9668c5938dda6d64a0419cea5d | diff --git a/lib/fdk/version.rb b/lib/fdk/version.rb
index <HASH>..<HASH> 100644
--- a/lib/fdk/version.rb
+++ b/lib/fdk/version.rb
@@ -17,5 +17,5 @@
#
module FDK
- VERSION = "0.0.30"
+ VERSION = "0.0.31"
end | Releasing version <I> | fnproject_fdk-ruby | train |
1f600cbd17f7de0f3dff09e51297763c7a57ac38 | diff --git a/dataviews/dataviews.py b/dataviews/dataviews.py
index <HASH>..<HASH> 100644
--- a/dataviews/dataviews.py
+++ b/dataviews/dataviews.py
@@ -70,6 +70,21 @@ class DataCurves(DataLayer):
+class DataHistogram(DataLayer):
+
+ bin_labels = param.List(default=[])
+
+ def __init__(self, hist, edges, **kw... | Added DataHistogram to dataviews | pyviz_holoviews | train |
20fdfa0ff78c82a0a19be6ad7a82f6b3dea1587d | diff --git a/lib/fog/aws/requests/ses/send_raw_email.rb b/lib/fog/aws/requests/ses/send_raw_email.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/aws/requests/ses/send_raw_email.rb
+++ b/lib/fog/aws/requests/ses/send_raw_email.rb
@@ -11,10 +11,7 @@ module Fog
# * RawMessage <~String> - The message to be sent.
... | Make specifying Destinations for send_raw_email work and match amazon docs | fog_fog | train |
411732e45ec6817e6eddc90e348702fe7a3b5a03 | diff --git a/client/extensions/woocommerce/components/address-view/index.js b/client/extensions/woocommerce/components/address-view/index.js
index <HASH>..<HASH> 100644
--- a/client/extensions/woocommerce/components/address-view/index.js
+++ b/client/extensions/woocommerce/components/address-view/index.js
@@ -115,6 +11... | Add a more-countries-coming-soon unselectable option to address view (#<I>) | Automattic_wp-calypso | train |
661583d11e112145a50963c369748c3d5dbee6a1 | diff --git a/LiSE/LiSE/character.py b/LiSE/LiSE/character.py
index <HASH>..<HASH> 100644
--- a/LiSE/LiSE/character.py
+++ b/LiSE/LiSE/character.py
@@ -352,17 +352,13 @@ class AbstractCharacter(MutableMapping):
n += 1
renamed[ok] = k
self.place[k] = v
- if type(g) is... | Fix a keycache problem that might've never come up | LogicalDash_LiSE | train |
448bd578d8e74f823c83b360ae174db9ae36e31e | diff --git a/version.php b/version.php
index <HASH>..<HASH> 100644
--- a/version.php
+++ b/version.php
@@ -29,11 +29,11 @@
defined('MOODLE_INTERNAL') || die();
-$version = 2018102300.02; // YYYYMMDD = weekly release date of this DEV branch.
+$version = 2018102700.00; // YYYYMMDD ... | on-demand release <I>dev+ | moodle_moodle | train |
87a19fe8b236e9514a3983e48d4b49ebcc0329da | diff --git a/lib/data_mapper/finalizer.rb b/lib/data_mapper/finalizer.rb
index <HASH>..<HASH> 100644
--- a/lib/data_mapper/finalizer.rb
+++ b/lib/data_mapper/finalizer.rb
@@ -65,6 +65,10 @@ module DataMapper
mapper_registry.register(mapper, connector.relationship)
end
end
+
+ @base_relat... | Freeze the relation graph after finalization | rom-rb_rom | train |
2f69bdc05962cf42c74bbc7a0544adc3d229a957 | diff --git a/aiortc/codecs/vpx.py b/aiortc/codecs/vpx.py
index <HASH>..<HASH> 100644
--- a/aiortc/codecs/vpx.py
+++ b/aiortc/codecs/vpx.py
@@ -149,7 +149,7 @@ class VpxDecoder:
div = p and 2 or 1
o_stride = img.d_w // div
for r in range(0, img.d_h // div):
... | don't resize o_buf in VpXDecoder (fixes #<I>) | aiortc_aiortc | train |
523910c6b5532b8372c91fe6771e5aaf5a1d841e | diff --git a/versions/models.py b/versions/models.py
index <HASH>..<HASH> 100644
--- a/versions/models.py
+++ b/versions/models.py
@@ -1078,19 +1078,24 @@ class Versionable(models.Model):
# retrieve all current m2m relations pointing the newly created clone
# filter for source_id
m2m_rels = l... | Added a test case for @raphaelm's suggestion and also fixed the number of queries for non-current relations | swisscom_cleanerversion | train |
397863f93e5ae8ce800da67fe78064b56845de83 | diff --git a/tests/test_adres_api.py b/tests/test_adres_api.py
index <HASH>..<HASH> 100644
--- a/tests/test_adres_api.py
+++ b/tests/test_adres_api.py
@@ -1,9 +1,16 @@
"""Adres API tests."""
import unittest
import postcodepy
+from postcodepy import typedefs
from postcodepy import PostcodeError
from . import unitte... | translation decorator tests added and bundled with existing response tests | hootnot_postcode-api-wrapper | train |
e42a7e9a657a4c9f515143ab7f86dc57319b735c | diff --git a/src/de/lmu/ifi/dbs/elki/result/outlier/OutlierResult.java b/src/de/lmu/ifi/dbs/elki/result/outlier/OutlierResult.java
index <HASH>..<HASH> 100644
--- a/src/de/lmu/ifi/dbs/elki/result/outlier/OutlierResult.java
+++ b/src/de/lmu/ifi/dbs/elki/result/outlier/OutlierResult.java
@@ -51,7 +51,7 @@ public class Ou... | Getters were meant to be public. | elki-project_elki | train |
fa11129a7b1a075981afa391d469fbb0e9f18179 | diff --git a/packages/react-ui-components/src/Button/index.story.js b/packages/react-ui-components/src/Button/index.story.js
index <HASH>..<HASH> 100644
--- a/packages/react-ui-components/src/Button/index.story.js
+++ b/packages/react-ui-components/src/Button/index.story.js
@@ -6,6 +6,7 @@ import Button from './index.j... | TASK: add small size to IconButton | neos_neos-ui | train |
e655d7af24aa89f71884d5948560dc87d81d5358 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -238,6 +238,12 @@ config.set('name', 'New Name');
### merge(obj)
This method allows you to merge configuration options into your local configuration. Convenient if you want to load some configuration options from the ser... | Added functionality to make merging of config settings easier. | Vheissu_aurelia-configuration | train |
2fbceb4ad46e6b03c6e0f3d50c73a40206b859a4 | diff --git a/addon/routes/list-form.js b/addon/routes/list-form.js
index <HASH>..<HASH> 100644
--- a/addon/routes/list-form.js
+++ b/addon/routes/list-form.js
@@ -138,15 +138,22 @@ FlexberryObjectlistviewHierarchicalRouteMixin, {
hierarchicalAttribute: hierarchicalAttribute,
};
+ this.onMod... | Add model loading events for list-form route | Flexberry_ember-flexberry | train |
e08e21880a666bb9beca31c9e96c319d35f8c8c0 | diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index <HASH>..<HASH> 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -287,6 +287,8 @@ def test_output_redirection(base_app):
os.remove(filename)
+@pytest.mark.skipif(sys.platform == 'linux',
+ reason="Unit test passes on Ubuntu... | Marked one test to skip on Linux because it fails on the TravisCI Linux containers.
But it works on both Ubuntu <I> and Debian <I>. | python-cmd2_cmd2 | train |
f80cc110624b78cd3488a6b84bd7d4275ec8d387 | diff --git a/src/com/mebigfatguy/fbcontrib/detect/PresizeCollections.java b/src/com/mebigfatguy/fbcontrib/detect/PresizeCollections.java
index <HASH>..<HASH> 100644
--- a/src/com/mebigfatguy/fbcontrib/detect/PresizeCollections.java
+++ b/src/com/mebigfatguy/fbcontrib/detect/PresizeCollections.java
@@ -60,6 +60,7 @@ pub... | fix fp for conditional add in a loop for PSC | mebigfatguy_fb-contrib | train |
66f795f5b6ce8f75d30469041cababd6e9deb6ee | diff --git a/packages/cozy-client/src/store/queries.js b/packages/cozy-client/src/store/queries.js
index <HASH>..<HASH> 100644
--- a/packages/cozy-client/src/store/queries.js
+++ b/packages/cozy-client/src/store/queries.js
@@ -175,7 +175,8 @@ const queries = (state = {}, action, documents = {}) => {
return upd... | refactor: Removed unreachable condition | cozy_cozy-client | train |
a737eff06d0605e34601dee7d3a4e6ba80cbcde4 | diff --git a/docs/app/Components/ComponentDoc/ComponentExample/ComponentExample.js b/docs/app/Components/ComponentDoc/ComponentExample/ComponentExample.js
index <HASH>..<HASH> 100644
--- a/docs/app/Components/ComponentDoc/ComponentExample/ComponentExample.js
+++ b/docs/app/Components/ComponentDoc/ComponentExample/Compo... | fix(docs): fix import regex (#<I>) (#<I>) | Semantic-Org_Semantic-UI-React | train |
244b78f4321f3c19434e6f1d60767ae85a472d66 | diff --git a/tests/postgres.py b/tests/postgres.py
index <HASH>..<HASH> 100644
--- a/tests/postgres.py
+++ b/tests/postgres.py
@@ -121,6 +121,16 @@ class TestTZField(ModelTestCase):
tzq2 = TZModel.get(TZModel.dt == dt2)
self.assertEqual(tzq2.id, tz2.id)
+ # Change the connection timezone?
+ ... | Additional assertions re: changing connection tz. | coleifer_peewee | train |
995b57d8485b66ef81f2d48fde69cd54f3e37547 | diff --git a/Resources/public/js/form.js b/Resources/public/js/form.js
index <HASH>..<HASH> 100644
--- a/Resources/public/js/form.js
+++ b/Resources/public/js/form.js
@@ -4,6 +4,9 @@ require(['jquery'], function($){
'form',
function(){
var $form = $(this);
+ var $submitBtn =... | METH-<I> throbber in submit button | CanalTP_MttBundle | train |
ae136a09d3c4db7e1765fb33466d80abec3c6bb1 | diff --git a/sendsms/api.py b/sendsms/api.py
index <HASH>..<HASH> 100644
--- a/sendsms/api.py
+++ b/sendsms/api.py
@@ -2,8 +2,6 @@
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
-from sendsms.utils import load_object
-
try:
# Django versions >= 1.9
from django.ut... | Remove unused imports and other formatting fixes | stefanfoulis_django-sendsms | train |
29c6478fafa551ed746757802edfb3d91885a7b9 | diff --git a/lib/serif/site.rb b/lib/serif/site.rb
index <HASH>..<HASH> 100644
--- a/lib/serif/site.rb
+++ b/lib/serif/site.rb
@@ -208,16 +208,12 @@ class Site
file = file_with_headers
end
- if layout_option
- if layout_option == "none"
- f.puts Liquid::Templat... | Simplify layout_option logic.
layout_option is always truthy here, and defaults to :default, which
will give default.html as the file to use, so we can cut out the use of
default_layout for this non-post processing. | aprescott_serif | train |
c341b5eeacfdd1a2534e689743a04371fee0f904 | diff --git a/lib/shared/getBlacklist.js b/lib/shared/getBlacklist.js
index <HASH>..<HASH> 100644
--- a/lib/shared/getBlacklist.js
+++ b/lib/shared/getBlacklist.js
@@ -2,7 +2,7 @@
var wreck = require('wreck');
-var url = 'http://gulpjs.com/plugins/blackList.json';
+var url = 'https://gulpjs.com/plugins/blackList.js... | Fix: Blacklist redirect (#<I>) | gulpjs_gulp-cli | train |
f56d97f3f33c03bc3dd087469e1604aa0d90a94e | diff --git a/src/Themosis/Core/Application.php b/src/Themosis/Core/Application.php
index <HASH>..<HASH> 100644
--- a/src/Themosis/Core/Application.php
+++ b/src/Themosis/Core/Application.php
@@ -184,6 +184,10 @@ class Application extends Container implements ApplicationContract, HttpKernelIn
\Illuminat... | Allow boot callbacks on providers. | themosis_framework | train |
2b7b9b26d6a22e09eb4d6e5b491f602635d84e56 | diff --git a/saltcloud/cloud.py b/saltcloud/cloud.py
index <HASH>..<HASH> 100644
--- a/saltcloud/cloud.py
+++ b/saltcloud/cloud.py
@@ -233,7 +233,7 @@ class Cloud(object):
)
continue
- if alias not in locations:
+ if alias not in data:
data[alia... | Fix bad reference to renamed variable. | saltstack_salt | train |
cf37c28e470113b980c4c5d3d0104054ae2750d8 | diff --git a/lib/tower_cli/resources/credential.py b/lib/tower_cli/resources/credential.py
index <HASH>..<HASH> 100644
--- a/lib/tower_cli/resources/credential.py
+++ b/lib/tower_cli/resources/credential.py
@@ -47,8 +47,16 @@ class Resource(models.Resource):
)
# SSH and SCM fields.
- username = models.Fi... | Removing options that do not work.
...and documenting the correct ones. | ansible_tower-cli | train |
31e31fd5c2762102a847842255b6d440910e1431 | diff --git a/src/Auditable.php b/src/Auditable.php
index <HASH>..<HASH> 100644
--- a/src/Auditable.php
+++ b/src/Auditable.php
@@ -581,6 +581,14 @@ trait Auditable
));
}
+ // Redacted data should not be used when transitioning states
+ if ($auditRedactors = $this->getAuditRedactors... | fix(Auditable): prevent transitioning states when redactors are set | owen-it_laravel-auditing | train |
c811c8d67244224708bf82ef8d676f980700c2fb | diff --git a/src/Http/Controllers/Frontendauth/FrontendAuthController.php b/src/Http/Controllers/Frontendauth/FrontendAuthController.php
index <HASH>..<HASH> 100644
--- a/src/Http/Controllers/Frontendauth/FrontendAuthController.php
+++ b/src/Http/Controllers/Frontendauth/FrontendAuthController.php
@@ -43,7 +43,9 @@ use... | Use replicated trait in FrontendAuthController.php. #<I> | lasallecms_lasallecms-l5-usermanagement-pkg | train |
0c6a8f1635dfed9e8793d12fdbc695388e00f86c | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -17,6 +17,7 @@ Features
- Network information (local & WAN IPs, MAC address, online status)
- Currently active schedule (by day)
- Next scheduled event
+ - Last 10 days energy report
- Setters:
- Ta... | Simplified & documented getEnergyLatest() | gboudreau_nest-api | train |
de5453415425627e89cd13ee2b55f39cc6751f6f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -78,7 +78,6 @@ setup(
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.6',
'Progra... | Drop support for python <I> | modlinltd_django-advanced-filters | train |
142de518bf28298b9807a1d05713e454d00998a1 | diff --git a/Tests/ApcUniversalClassLoaderTest.php b/Tests/ApcUniversalClassLoaderTest.php
index <HASH>..<HASH> 100644
--- a/Tests/ApcUniversalClassLoaderTest.php
+++ b/Tests/ApcUniversalClassLoaderTest.php
@@ -58,10 +58,8 @@ class ApcUniversalClassLoaderTest extends \PHPUnit_Framework_TestCase
public function getL... | Fix class names in ApcUniversalClassLoader tests. | symfony_class-loader | train |
66146f631f98d904caa622d407a69438e5d14d8b | diff --git a/go/vt/vtctl/vtctl.go b/go/vt/vtctl/vtctl.go
index <HASH>..<HASH> 100644
--- a/go/vt/vtctl/vtctl.go
+++ b/go/vt/vtctl/vtctl.go
@@ -911,7 +911,7 @@ func commandRunHealthCheck(ctx context.Context, wr *wrangler.Wrangler, subFlags
if err != nil {
return err
}
- servedType, err := parseTabletType(subFlag... | vtctl: Revert that "master" is allowed as type for RunHealthCheck.
A tablet is never started with -tablet_type master and therefore the manual health check shouldn't support this as well. Nonetheless, any "replica" can become a "master". | vitessio_vitess | train |
99aa18808fd7f88cb8e97ec9a74ca6a0b2b4922f | diff --git a/mod/quiz/lib.php b/mod/quiz/lib.php
index <HASH>..<HASH> 100644
--- a/mod/quiz/lib.php
+++ b/mod/quiz/lib.php
@@ -518,7 +518,7 @@ function quiz_process_options(&$quiz) {
$boundary = trim($quiz->feedbackboundaries[$i]);
if (!is_numeric($boundary)) {
if (strlen($boundary) > 0 &... | Make General feedback more tolerant of whitespace. Merged from MOODLE_<I>_STABLE. | moodle_moodle | train |
06794b371c640d577a020dc50e3628a5219abc81 | diff --git a/src/main/java/org/jdbdt/JDBDT.java b/src/main/java/org/jdbdt/JDBDT.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jdbdt/JDBDT.java
+++ b/src/main/java/org/jdbdt/JDBDT.java
@@ -538,7 +538,6 @@ public final class JDBDT {
* @param out Output stream.
*/
public void debug(DataSource source,... | JDBDT: simplified variant of debug method | JDBDT_jdbdt | train |
ef514d51bb84cfcb0ff1dd14e1e556e1f68a5862 | diff --git a/service/windows/service_windows_test.go b/service/windows/service_windows_test.go
index <HASH>..<HASH> 100644
--- a/service/windows/service_windows_test.go
+++ b/service/windows/service_windows_test.go
@@ -47,9 +47,9 @@ func (s *serviceManagerSuite) SetUpTest(c *gc.C) {
s.passwdStub = &testing.Stub{}
s... | Add tests to ensure CloseHandle get called correctly | juju_juju | train |
5e286e5bab59328aedc29f5b766999af57aad2fe | diff --git a/src/java/com/threerings/media/sprite/ImageSprite.java b/src/java/com/threerings/media/sprite/ImageSprite.java
index <HASH>..<HASH> 100644
--- a/src/java/com/threerings/media/sprite/ImageSprite.java
+++ b/src/java/com/threerings/media/sprite/ImageSprite.java
@@ -1,5 +1,5 @@
//
-// $Id: ImageSprite.java,v 1... | added TIME_SEQUENTIAL animation mode which shows frame 0 first, and
for the full duration.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1 | threerings_narya | train |
4c2459a017345a13a57b32f847fa17534bce3dfa | diff --git a/Services/Twilio.php b/Services/Twilio.php
index <HASH>..<HASH> 100644
--- a/Services/Twilio.php
+++ b/Services/Twilio.php
@@ -102,12 +102,10 @@ class Services_Twilio extends Services_Twilio_Resource
if ($headers['content-type'] == 'application/json') {
$object = json_decode($body);
... | * simplify if/else statements | twilio_twilio-php | train |
de1768cf7db3b6fa6dfafcee5556af9fd2dabbbb | diff --git a/saltobserver/redis_stream.py b/saltobserver/redis_stream.py
index <HASH>..<HASH> 100644
--- a/saltobserver/redis_stream.py
+++ b/saltobserver/redis_stream.py
@@ -16,7 +16,7 @@ class RedisStream(object):
minimum_version = StrictVersion("2.8.0")
if actual_version < minimum_version:
... | we do not need the list events from redis, remove them | debugloop_saltobserver | train |
8da0034ba9000b83a66af3438219577902fb6acc | diff --git a/lib/coin.rb b/lib/coin.rb
index <HASH>..<HASH> 100644
--- a/lib/coin.rb
+++ b/lib/coin.rb
@@ -9,7 +9,7 @@ end
module Coin
class << self
extend Forwardable
- def_delegators :server, :delete, :clear, :length
+ def_delegators :server, :read_and_delete, :delete, :clear, :length
def read(k... | Added test for read_and_delete. | hopsoft_coin | train |
4263889a97a4d922048997555330e1cbe3e83904 | diff --git a/hamster_lib/objects.py b/hamster_lib/objects.py
index <HASH>..<HASH> 100644
--- a/hamster_lib/objects.py
+++ b/hamster_lib/objects.py
@@ -664,10 +664,10 @@ class Fact(object):
# self.description or "")
if self.start:
- start = self.start.strftime("%d-%m... | Change dateformat for str/repr(fact) to iso
This should be more in line with the format used by ``parse_raw_fact``.
Please note that still start and end are seperated by ``to`` here while
``parse_raw_fact`` uses ``-``.
Closes: LIB-<I> | projecthamster_hamster-lib | train |
1c0c24fe69a778a51971c2eddbe0896d5473a253 | diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index <HASH>..<HASH> 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -4,7 +4,9 @@ Changelog
1.2.0 (unreleased)
------------------
-- Nothing changed yet.
+**Bug fixes**
+
+- Fix invalid request when attaching a file on non UUID record id (fixes #122)
1.1.1 (2017-02-... | Fix invalid request when attaching a file on non UUID record id (fixes #<I>) | Kinto_kinto-attachment | train |
acbab05acdc23e00a5f53ec6b8217b2790b747b8 | diff --git a/lib/writeexcel/workbook.rb b/lib/writeexcel/workbook.rb
index <HASH>..<HASH> 100644
--- a/lib/writeexcel/workbook.rb
+++ b/lib/writeexcel/workbook.rb
@@ -25,11 +25,24 @@ class Workbook < BIFFWriter
require 'writeexcel/properties'
require 'writeexcel/helper'
+ class Worksheets < Array
+ attr_acc... | * use Worksheets, and delete instance var @activesheet of Workbook | cxn03651_writeexcel | train |
f0f51940603ac99ae76a6abf3b24de50b8f82631 | diff --git a/src/FluxBB/Models/User.php b/src/FluxBB/Models/User.php
index <HASH>..<HASH> 100644
--- a/src/FluxBB/Models/User.php
+++ b/src/FluxBB/Models/User.php
@@ -25,10 +25,11 @@
namespace FluxBB\Models;
-use Auth,
+use Illuminate\Auth\UserInterface,
+ Auth,
Hash;
-class User extends Base
+class User exten... | The User model should implement Illuminate's UserInterface. | fluxbb_core | train |
30dfe5e8b5143cee0b55f6970c666e2bd6537339 | diff --git a/templates/Angular2Spa/project.json b/templates/Angular2Spa/project.json
index <HASH>..<HASH> 100755
--- a/templates/Angular2Spa/project.json
+++ b/templates/Angular2Spa/project.json
@@ -67,8 +67,8 @@
"scripts": {
"prepublish": [
"npm install",
- "node node_modules/webpack/bin/webpack.js... | In Angular2Spa webpack config, use "--env.prod" arg to trigger prod builds instead of ASPNETCORE_ENVIRONMENT env var. This is to guarantee production mode when publishing. | aspnet_JavaScriptServices | train |
b9f9bed800e5605af566a828b4cf94ee24dad1b8 | diff --git a/gsh/console.py b/gsh/console.py
index <HASH>..<HASH> 100644
--- a/gsh/console.py
+++ b/gsh/console.py
@@ -49,33 +49,41 @@ def set_blocking_stdin(blocking):
# We remember the last printed status in order to clear it with ' ' characters
last_status = None
+stdout_is_terminal = sys.stdout.isatty()
+
def ... | Avoid printing control characters ('\r') especially if stdout is not a tty | innogames_polysh | train |
ae2023e94c6f84905524f0e67aa2a9ed973d7980 | diff --git a/lib/uaa/cli/client_reg.rb b/lib/uaa/cli/client_reg.rb
index <HASH>..<HASH> 100644
--- a/lib/uaa/cli/client_reg.rb
+++ b/lib/uaa/cli/client_reg.rb
@@ -28,6 +28,7 @@ class ClientCli < CommonCli
:refresh_token_validity => 'seconds',
:redirect_uri => 'list',
:autoapprove => 'list',
+ ... | add allowpublic option to client (#<I>) | cloudfoundry_cf-uaac | train |
a030df20b37b19319d351cf696c9945129987e92 | diff --git a/cmd3/__init__.py b/cmd3/__init__.py
index <HASH>..<HASH> 100644
--- a/cmd3/__init__.py
+++ b/cmd3/__init__.py
@@ -1,5 +1 @@
-from cmd3.version import version as cmd3_version
-
-version = cmd3_version
-
-__version__ = tuple(version.split('.'))
\ No newline at end of file
+version = "1.9.7"
\ No newline at e... | removing osx py2app | cloudmesh-cmd3_cmd3 | train |
832a7e4992ba7bc30df07b15e2db559c99609ec8 | diff --git a/lib/traject/indexer.rb b/lib/traject/indexer.rb
index <HASH>..<HASH> 100644
--- a/lib/traject/indexer.rb
+++ b/lib/traject/indexer.rb
@@ -539,10 +539,11 @@ class Traject::Indexer
:logger => logger
)
+
if log_batch_size && (count % log_batch_size == 0)
batc... | Fix method name typo in indexer batch logging
Bug found by @banukutlu, thanks!
Now with test that would have caught bug, and generally tests indexer batch logging. | traject_traject | train |
8519341d0f944ba6de9902528c43750b283a6bde | diff --git a/src/main/java/org/joda/money/DefaultCurrencyUnitDataProvider.java b/src/main/java/org/joda/money/DefaultCurrencyUnitDataProvider.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/joda/money/DefaultCurrencyUnitDataProvider.java
+++ b/src/main/java/org/joda/money/DefaultCurrencyUnitDataProvider.java
@... | Allow up to 9 decimal places to be defined in CSV file. | JodaOrg_joda-money | train |
8b20b0e5b6c2a4a5171f49c5cbddeb0d847d551b | diff --git a/scrapekit/logs.py b/scrapekit/logs.py
index <HASH>..<HASH> 100644
--- a/scrapekit/logs.py
+++ b/scrapekit/logs.py
@@ -1,7 +1,11 @@
import os
import logging
-import jsonlogger
+try:
+ import jsonlogger
+except ImportError:
+ # python-json-logger version 0.1.0 has changed the import structure
+ ... | handle ImportError when importing jsonlogger since the package has changed its import structure | pudo-attic_scrapekit | train |
966a01891ff9c2db2f3fd4385f76c9f6744cb5ae | diff --git a/eZ/Publish/Core/Base/Exceptions/InvalidArgumentType.php b/eZ/Publish/Core/Base/Exceptions/InvalidArgumentType.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/Core/Base/Exceptions/InvalidArgumentType.php
+++ b/eZ/Publish/Core/Base/Exceptions/InvalidArgumentType.php
@@ -20,18 +20,25 @@ use eZ\Publish\Core\B... | Fixed InvalidArgumentType to work as current use expects | ezsystems_ezpublish-kernel | train |
de46fde4091e7ec9d058f76e98fceca933bf80c2 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -20,7 +20,7 @@ function CopyWebpackPlugin(patterns = [], options = {}) {
const debugLevelIndex = debugLevels.indexOf(options.debug);
function log(msg, level) {
if (level === 0) {
- ... | fix: Memory leak in watch mode and use Set for performance (#<I>) | meeroslav_pr-copy-webpack-plugin | train |
f01dcc5795f3982b006357a5565edd9e802761e5 | diff --git a/src/PdoAdapter.php b/src/PdoAdapter.php
index <HASH>..<HASH> 100644
--- a/src/PdoAdapter.php
+++ b/src/PdoAdapter.php
@@ -393,12 +393,15 @@ class PdoAdapter implements AdapterInterface
*/
protected function extractChunks($pathId, $resource)
{
- $chunkSize = $this->config->get('chunk_... | Fix #2 Split up data extraction
Further break down of the DB chunk into small more memory manageable
parts. | phlib_flysystem-pdo | train |
10a9a631ed92185da119940edf0228e64c47cf16 | diff --git a/dynamic_dynamodb/__init__.py b/dynamic_dynamodb/__init__.py
index <HASH>..<HASH> 100644
--- a/dynamic_dynamodb/__init__.py
+++ b/dynamic_dynamodb/__init__.py
@@ -27,7 +27,7 @@ import core
from daemon import Daemon
from config_handler import CONFIGURATION as configuration
-VERSION = '1.0.1'
+VERSION = '... | Bumped to <I>-SNAPSHOT | sebdah_dynamic-dynamodb | train |
f208479f5c64a552724863ca5dab2aa6555cd336 | diff --git a/app/actions/peptable/base.py b/app/actions/peptable/base.py
index <HASH>..<HASH> 100644
--- a/app/actions/peptable/base.py
+++ b/app/actions/peptable/base.py
@@ -1,13 +1,12 @@
from app.dataformats import mzidtsv as psmtsvdata
-def add_peptide(allpeps, psm, key, score, fncol=None, new=False,
- ... | Removed track_psms var so scorecol input becomes what decides if psms are tracked when building peptide tables | glormph_msstitch | train |
3de971c6932f8da5d615007a089c08991b2ca5c7 | diff --git a/spec/models/generic_work_spec.rb b/spec/models/generic_work_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/models/generic_work_spec.rb
+++ b/spec/models/generic_work_spec.rb
@@ -41,9 +41,14 @@ RSpec.describe GenericWork do
let(:work) { described_class.new(state: inactive) }
let(:inactive) { ::RDF... | Setting work state to ActiveTriples::Resource. | samvera_hyrax | train |
dbfca4913546f6980b7e7b3b77dc04e153486137 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -25,7 +25,7 @@ __date__ = '$Date$'[7:-2]
name = 'jaraco.util'
setup (name = name,
- version = '2.3.1',
+ version = '3.0',
description = 'General utility modules that supply commonly-used functionality',
long_... | Bumped to <I> in preparation for code trimming | jaraco_jaraco.util | train |
f66251dc8b1e0893ade59c08535248eec5b9193c | diff --git a/src/test/java/picocli/SubcommandTests.java b/src/test/java/picocli/SubcommandTests.java
index <HASH>..<HASH> 100644
--- a/src/test/java/picocli/SubcommandTests.java
+++ b/src/test/java/picocli/SubcommandTests.java
@@ -1,5 +1,6 @@
package picocli;
+import org.junit.Ignore;
import org.junit.Rule;
import... | [#<I>] add test to reproduce the issue | remkop_picocli | train |
a40a93dae8401f2c129e246383fe6c5825902a29 | diff --git a/lib/RippleBackgroundTransition.js b/lib/RippleBackgroundTransition.js
index <HASH>..<HASH> 100644
--- a/lib/RippleBackgroundTransition.js
+++ b/lib/RippleBackgroundTransition.js
@@ -12,36 +12,31 @@ import {
} from 'react-native'
import { easeOut } from './utils/easing'
-type Props = {
+type RBTProps = ... | Code cleaning RippleBackgroundTransition | timomeh_react-native-material-bottom-navigation | train |
d04c94f520995819aab1c3e84707a92cea8d561a | diff --git a/session.go b/session.go
index <HASH>..<HASH> 100644
--- a/session.go
+++ b/session.go
@@ -260,9 +260,8 @@ func (s *Session) KeyspaceMetadata(keyspace string) (*KeyspaceMetadata, error) {
// returns routing key indexes and type info
func (s *Session) routingKeyInfo(stmt string) (*routingKeyInfo, error) {
... | session: No need to include keyspace in routingKeyInfoCache key | gocql_gocql | train |
ed01bb4bf61f7a726882d6347f3ef6d5c3a73daf | diff --git a/lib/gir_ffi/builders/initializer_return_value_builder.rb b/lib/gir_ffi/builders/initializer_return_value_builder.rb
index <HASH>..<HASH> 100644
--- a/lib/gir_ffi/builders/initializer_return_value_builder.rb
+++ b/lib/gir_ffi/builders/initializer_return_value_builder.rb
@@ -7,9 +7,6 @@ module GirFFI
cl... | No longer set autorelease in boxed type initializers | mvz_gir_ffi | train |
8f6ec779f0a206de1c447b48d545489fafa75d95 | diff --git a/ChangeLog.txt b/ChangeLog.txt
index <HASH>..<HASH> 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,4 +1,8 @@
+v0.2.0:
+
+ * add SHLock class for shared/exclusive (also known as read/write) locks.
+
v0.1.4:
* fix silly typo when loading libc (it's a miracle previous versions
diff --git a/t... | add SHLock class for shared/exclusive (aka read/write) locks | rfk_threading2 | train |
28b9ed7264444f25ac6cc886a2f18d6583adf185 | diff --git a/cake/libs/session/database_session.php b/cake/libs/session/database_session.php
index <HASH>..<HASH> 100644
--- a/cake/libs/session/database_session.php
+++ b/cake/libs/session/database_session.php
@@ -77,7 +77,7 @@ class DatabaseSession implements CakeSessionHandlerInterface {
* @access private
*/
p... | Adding test cases for DatabaseSession and fixing a test case in CacheSession. | cakephp_cakephp | train |
02c724d2dbc43ef9e5feca42ae2e037853dfea0a | diff --git a/IPython/html/static/widgets/js/widget.js b/IPython/html/static/widgets/js/widget.js
index <HASH>..<HASH> 100644
--- a/IPython/html/static/widgets/js/widget.js
+++ b/IPython/html/static/widgets/js/widget.js
@@ -52,6 +52,7 @@ define(["widgets/js/manager",
_handle_comm_closed: function (msg) {
... | Destroy backbone model on comm:close | jupyter-widgets_ipywidgets | train |
0755196e81c8e3e3f6a77cf08a64fee22ef7f671 | diff --git a/lib/rufus/scheduler/cronline.rb b/lib/rufus/scheduler/cronline.rb
index <HASH>..<HASH> 100644
--- a/lib/rufus/scheduler/cronline.rb
+++ b/lib/rufus/scheduler/cronline.rb
@@ -292,7 +292,7 @@ class Rufus::Scheduler
secs = @seconds.sort
- return secs.last + 60 - time.sec if time.sec > secs.las... | fix for CronLine#next_second vs six-field line | jmettraux_rufus-scheduler | train |
5998e8feb74c6d7ecba97c83cafab94fb2a66737 | diff --git a/command/print_token.go b/command/print_token.go
index <HASH>..<HASH> 100644
--- a/command/print_token.go
+++ b/command/print_token.go
@@ -15,7 +15,7 @@ type PrintTokenCommand struct {
}
func (c *PrintTokenCommand) Synopsis() string {
- return "Prints the vault token currenty in use"
+ return "Prints th... | Fix typo in print token synopsis text (#<I>) | hashicorp_vault | train |
b8c8e747407187185d718b8b148d18e9eca3a222 | diff --git a/cellpy/readers/instruments/pec.py b/cellpy/readers/instruments/pec.py
index <HASH>..<HASH> 100644
--- a/cellpy/readers/instruments/pec.py
+++ b/cellpy/readers/instruments/pec.py
@@ -56,14 +56,52 @@ class PECLoader(Loader):
get_headers_normal()
) # should consider to move this to the ... | Added a method to find units in a csv file. | jepegit_cellpy | train |
f92203535590e99104e7e29bca2404348acb7971 | diff --git a/karma.conf.js b/karma.conf.js
index <HASH>..<HASH> 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -11,6 +11,7 @@ module.exports = function(config) {
let coverage = !Boolean(argv['disable-coverage']) && !quick;
let browsers = argv['browser'];
let logLevel = argv['log-level'] || argv['lo... | Do not go into headless mode when keep-open passed | paypal_paypal-checkout-components | train |
40d6bc4825c5f1b88458b1082749a1cdd3bf2937 | diff --git a/lang/en_utf8/portfolio.php b/lang/en_utf8/portfolio.php
index <HASH>..<HASH> 100644
--- a/lang/en_utf8/portfolio.php
+++ b/lang/en_utf8/portfolio.php
@@ -93,6 +93,7 @@ $string['logs'] = 'Transfer logs';
$string['logsummary'] = 'Previous successful transfers';
$string['manageportfolios'] = 'Manage portfol... | portfolio NOBUG added some more helpful debugging information about common formats | moodle_moodle | train |
213a9c8988ee5a78ff23d1ad14e0b18386baff4c | diff --git a/spec/Behat/Symfony2Extension/Context/Argument/ServiceArgumentResolverSpec.php b/spec/Behat/Symfony2Extension/Context/Argument/ServiceArgumentResolverSpec.php
index <HASH>..<HASH> 100644
--- a/spec/Behat/Symfony2Extension/Context/Argument/ServiceArgumentResolverSpec.php
+++ b/spec/Behat/Symfony2Extension/Co... | Only escape service names at start of string | Behat_Symfony2Extension | train |
5a014aada69acb9fc5158e75a6a229eff4c71fc4 | diff --git a/src/runtime/runtime.js b/src/runtime/runtime.js
index <HASH>..<HASH> 100644
--- a/src/runtime/runtime.js
+++ b/src/runtime/runtime.js
@@ -340,12 +340,6 @@
return $Object(x);
}
- function assertObject(x) {
- if (!isObject(x))
- throw $TypeError(x + ' is not an Object');
- return x;
- ... | Remove runtime remove assertObject
This could not be included in the last commit due to self hostin
issues. It required a npm push before it was safe to remove. | google_traceur-compiler | train |
b5f62ba95a8bce41e85b2515b9d6859a8b1500dd | diff --git a/spec/ClientSpec.php b/spec/ClientSpec.php
index <HASH>..<HASH> 100644
--- a/spec/ClientSpec.php
+++ b/spec/ClientSpec.php
@@ -34,8 +34,7 @@ class ClientSpec extends ObjectBehavior
$this->httpClient = $httpClient;
- $authenticator->createToken( Argument::type('string') )->willReturn( sel... | Dropped support for 'req' & 'pay' claims in JWT | alphagov_notifications-php-client | train |
e853fc73e85d41fa8ecabae418cfd45fa3b2a97f | diff --git a/lib/symlink.js b/lib/symlink.js
index <HASH>..<HASH> 100644
--- a/lib/symlink.js
+++ b/lib/symlink.js
@@ -20,7 +20,7 @@ const symlinkSync = (symlinkValue, path) => {
fs.symlinkSync(symlinkValue, path);
} catch (err) {
if (err.code === "ENOENT") {
- // Parent directories don't exist. Just ... | Fix typo in `lib/symlink.js` | szwacz_fs-jetpack | train |
76bd3f17f6744f4758d5b1e82ffdd89267fd543c | diff --git a/src/ro/nextreports/engine/querybuilder/sql/dialect/MSSQLDialect.java b/src/ro/nextreports/engine/querybuilder/sql/dialect/MSSQLDialect.java
index <HASH>..<HASH> 100644
--- a/src/ro/nextreports/engine/querybuilder/sql/dialect/MSSQLDialect.java
+++ b/src/ro/nextreports/engine/querybuilder/sql/dialect/MSSQLDi... | map image type to sql blob | nextreports_nextreports-engine | train |
a17729321f4c4af1cd8b99f611f596a41f093f1b | diff --git a/vlcp/event/core.py b/vlcp/event/core.py
index <HASH>..<HASH> 100644
--- a/vlcp/event/core.py
+++ b/vlcp/event/core.py
@@ -206,7 +206,7 @@ class Scheduler(object):
self.registerIndex = {}
self.daemons = set()
self.processevents = processevents
- self.logger.setLevel(WARNING... | Small improvement on logging and module load | hubo1016_vlcp | train |
a4abb2397fbe3ec7a6189f69f31f4c87bd5faf78 | diff --git a/img_proof/ipa_cloud.py b/img_proof/ipa_cloud.py
index <HASH>..<HASH> 100644
--- a/img_proof/ipa_cloud.py
+++ b/img_proof/ipa_cloud.py
@@ -349,7 +349,7 @@ class IpaCloud(object):
if self.early_exit:
options.append('-x')
- args = '-v {} --ssh-config={} --hosts={} {}'.format(
+ ... | Catch unhandled exceptions from pytest.
- And retry the given test.
- Also, disable all pytest stdout capturing with -s option. This
seems to clash with img-proof which already redirects stdout to a
log file. <URL> | SUSE-Enceladus_ipa | train |
1436788bacffbc765db7d4b8c6a33de4ab10bf9e | diff --git a/benchmark.js b/benchmark.js
index <HASH>..<HASH> 100644
--- a/benchmark.js
+++ b/benchmark.js
@@ -46,7 +46,7 @@ var funcs = [
// Insert a new user
function(done) {
- var email = RECORDS + inserts + '-' + email
+ var email = RECORDS + inserts + '-' + baseEmail
dbi.addUser(email, "password... | s/email/baseEmail
increase # ops | FrozenRidge_level-userdb | train |
b1f577724e3f06efd31bdb61b7e7746cdf0d92d7 | diff --git a/tools/webpack.babel.js b/tools/webpack.babel.js
index <HASH>..<HASH> 100644
--- a/tools/webpack.babel.js
+++ b/tools/webpack.babel.js
@@ -8,7 +8,7 @@ var config = require('../config/project'),
configWebpack = config.webpack;
var Clean = require('clean-webpack-plugin'),
- ExtractTextPlugin = requ... | update extract-text-webpack-plugin
update extract-text-webpack-plugin | steamerjs_steamer-react-component | train |
aa810745501782ed29661a659eed41ae4a7aed6d | diff --git a/pylon/pyreto/smart_market.py b/pylon/pyreto/smart_market.py
index <HASH>..<HASH> 100644
--- a/pylon/pyreto/smart_market.py
+++ b/pylon/pyreto/smart_market.py
@@ -25,7 +25,7 @@
import time
import logging
-from pylon import UDOPF
+from pylon import UDOPF, DCOPF
#---------------------------------------... | Adding option to use plain DCOPF. | rwl_pylon | train |
8396f2736a8bdc69a15270b4ff1d6412e5b3277a | diff --git a/lib/writer/xelatex.js b/lib/writer/xelatex.js
index <HASH>..<HASH> 100644
--- a/lib/writer/xelatex.js
+++ b/lib/writer/xelatex.js
@@ -209,6 +209,7 @@ var header =
'\n' +
'% select widely available fonts\n' +
'\\setmainfont{Georgia}\n' +
+ '\\setmonofont{Courier New}\n' +
'\n' +
'% set parag... | [xelatex] Set Courier New as monospaced font. | sheremetyev_texts.js | train |
e7c592610e18b73df0ace756dde764b4c62d4bcf | diff --git a/src/main/php/ehough/shortstop/impl/exec/command/CurlCommand.php b/src/main/php/ehough/shortstop/impl/exec/command/CurlCommand.php
index <HASH>..<HASH> 100644
--- a/src/main/php/ehough/shortstop/impl/exec/command/CurlCommand.php
+++ b/src/main/php/ehough/shortstop/impl/exec/command/CurlCommand.php
@@ -180,1... | Bumping default timeouts to <I> seconds | ehough_shortstop | train |
ec3fff5a6d928bf1fe6fb5de6e28509d69155509 | diff --git a/lib/reform/form/active_model.rb b/lib/reform/form/active_model.rb
index <HASH>..<HASH> 100644
--- a/lib/reform/form/active_model.rb
+++ b/lib/reform/form/active_model.rb
@@ -55,15 +55,16 @@ module Reform::Form::ActiveModel
end
end
+
module ClassMethods
- def model_options
- return @mod... | use inheritable_attr to implement ActiveModel::model_options. slightly changed F::ActiveModel::ClassMethods, this is an extend-only module now, so if you used to include it, things might break. | trailblazer_reform | train |
68d508e8492ddd1ab48eb2dad83c5c90fe4b07cd | diff --git a/src/Entry.php b/src/Entry.php
index <HASH>..<HASH> 100644
--- a/src/Entry.php
+++ b/src/Entry.php
@@ -66,7 +66,7 @@ class Entry implements EntryInterface
return $this->resolvedLinks[$key];
}
- if (is_array($this->fields[$key]) && count($this->fields[$key]) > 0 && ... | make entry resolve links if there are any links in field data (i.e. don't just check the first one) | usemarkup_contentful | train |
c28595228f3ea70b1817269649bbf763b7e7461f | diff --git a/src/com/google/javascript/jscomp/serialization/JSTypeSerializer.java b/src/com/google/javascript/jscomp/serialization/JSTypeSerializer.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/serialization/JSTypeSerializer.java
+++ b/src/com/google/javascript/jscomp/serialization/JSTypeSeria... | Fix an issue with nested unions in JSTypeSerializer.
PiperOrigin-RevId: <I> | google_closure-compiler | train |
8b700648d19cf29883bc94e05dea7756d049a609 | diff --git a/lib/perobs/Store.rb b/lib/perobs/Store.rb
index <HASH>..<HASH> 100644
--- a/lib/perobs/Store.rb
+++ b/lib/perobs/Store.rb
@@ -244,6 +244,7 @@ module PEROBS
# from the back-end storage. The garbage collector is not invoked
# automatically. Depending on your usage pattern, you need to call this
... | Improve robustness of Store.check().
Under certain conditions check() did run into an infinite loop. | scrapper_perobs | train |
968e831d35c17a0a38093f4e2b1beeb21c615220 | diff --git a/scoop/futures.py b/scoop/futures.py
index <HASH>..<HASH> 100644
--- a/scoop/futures.py
+++ b/scoop/futures.py
@@ -339,7 +339,7 @@ def wait(fs, timeout=None, return_when=ALL_COMPLETED):
futures."""
DoneAndNotDoneFutures = namedtuple('DoneAndNotDoneFutures', 'done not_done')
if return_when... | Fixed a bug in wait with the argument FIRST_COMPLETE | soravux_scoop | train |
f56f02c241ad0ee1947c1652e3b2773b0ebd1232 | diff --git a/ontquery/plugins/services/interlex.py b/ontquery/plugins/services/interlex.py
index <HASH>..<HASH> 100644
--- a/ontquery/plugins/services/interlex.py
+++ b/ontquery/plugins/services/interlex.py
@@ -36,7 +36,9 @@ class InterLexRemote(_InterLexSharedCache, OntService): # note to self
self.apiEndpoi... | interlex plugin add support for cde_ ids | tgbugs_ontquery | train |
e92d9be2ffc6f17a9aa700390bee2a8d9f58fda3 | diff --git a/modules/directives/calendar/calendar.js b/modules/directives/calendar/calendar.js
index <HASH>..<HASH> 100644
--- a/modules/directives/calendar/calendar.js
+++ b/modules/directives/calendar/calendar.js
@@ -1,8 +1,10 @@
/*
-* Implementation of JQuery FullCalendar inspired by http://arshaw.com/fullcalendar... | added tests to prove the ability to add expressions to the options from the html | angular-ui_ui-select2 | train |
16ae0eb4ce8fe9cd14af1f02275f2b1b73526765 | diff --git a/mot/model_building/parameter_functions/sample_statistics.py b/mot/model_building/parameter_functions/sample_statistics.py
index <HASH>..<HASH> 100644
--- a/mot/model_building/parameter_functions/sample_statistics.py
+++ b/mot/model_building/parameter_functions/sample_statistics.py
@@ -29,9 +29,7 @@ class G... | Changed the sample statistic to use the CPU again for the easy statistics, for large samples this is faster than using the GPU | cbclab_MOT | train |
c839f24d6b1abce70c0d88d2b7b940083a31baa9 | diff --git a/lime/explanation.py b/lime/explanation.py
index <HASH>..<HASH> 100644
--- a/lime/explanation.py
+++ b/lime/explanation.py
@@ -225,7 +225,8 @@ class Explanation(object):
explanations for all available labels. (only used for classification)
predict_proba: if true, add barchart ... | * minor linting cleanup to satisfy flake8 | marcotcr_lime | train |
3016f3bb03709d5b1cfd69aac46695e3a54748c3 | diff --git a/salt/modules/inspectlib/collector.py b/salt/modules/inspectlib/collector.py
index <HASH>..<HASH> 100644
--- a/salt/modules/inspectlib/collector.py
+++ b/salt/modules/inspectlib/collector.py
@@ -490,8 +490,15 @@ class Inspector(EnvLoader):
'''
self._init_env()
- self._save_cfg_pkg... | Merge two db operations on collector | saltstack_salt | train |
f982d84a076afce73d31dab56c3f084b6f521e83 | diff --git a/core/src/main/java/hudson/Util.java b/core/src/main/java/hudson/Util.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/Util.java
+++ b/core/src/main/java/hudson/Util.java
@@ -866,29 +866,50 @@ public class Util {
CharBuffer buf = null;
char c;
for (int i = 0, m = s... | Fix JENKINS-<I> (#<I>)
This fixes the issue when the project name
includes a character that can't be encoded
directly in UTF-8, e.g., surrogate pairs. | jenkinsci_jenkins | train |
f6c580882783768d8a66b335b6ef7ceec144da4f | diff --git a/OsLogin/synth.metadata b/OsLogin/synth.metadata
index <HASH>..<HASH> 100644
--- a/OsLogin/synth.metadata
+++ b/OsLogin/synth.metadata
@@ -1,19 +1,19 @@
{
- "updateTime": "2019-05-10T10:03:43.051821Z",
+ "updateTime": "2019-06-04T19:27:21.300653Z",
"sources": [
{
"generator": {
"n... | test: Update generated unit tests. (#<I>) | googleapis_google-cloud-php | train |
fe3ebe75fec5f4384187210160fd7773661dc433 | diff --git a/txaws/client/base.py b/txaws/client/base.py
index <HASH>..<HASH> 100644
--- a/txaws/client/base.py
+++ b/txaws/client/base.py
@@ -415,6 +415,9 @@ def query(**kw):
@attr.s(frozen=True)
class _Query(object):
+ """
+ Representation of enough information to submit an AWS request.
+ """
_crede... | Some more docs and stop paying attention to receiver_factory. | twisted_txaws | train |
d8875b3eae5526357e55a3d5b24e0ec0252ad4c6 | diff --git a/mod/quiz/editlib.php b/mod/quiz/editlib.php
index <HASH>..<HASH> 100644
--- a/mod/quiz/editlib.php
+++ b/mod/quiz/editlib.php
@@ -445,13 +445,13 @@ function quiz_print_question_list($quiz, $pageurl, $allowdelete=true,
?>
<div class="points">
<form method="post" action="edit.php"><div>
- ... | quiz editing: MDL-<I> added an id attribute for the grading input field to make labels work | moodle_moodle | train |
d9bf07ce967d227d7aff6b21f5e87d8f5db6ef3c | diff --git a/etcd3gw/client.py b/etcd3gw/client.py
index <HASH>..<HASH> 100644
--- a/etcd3gw/client.py
+++ b/etcd3gw/client.py
@@ -400,11 +400,13 @@ class Etcd3Client(object):
def client(host='localhost', port=2379,
- ca_cert=None, cert_key=None, cert_cert=None, timeout=None):
+ ca_cert=None, c... | Support for protocol type while creating client. | dims_etcd3-gateway | train |
fe98d509c4bd9bf8b2f7f664828f5fa06ba1d88f | diff --git a/openquake/hazard/opensha.py b/openquake/hazard/opensha.py
index <HASH>..<HASH> 100644
--- a/openquake/hazard/opensha.py
+++ b/openquake/hazard/opensha.py
@@ -425,6 +425,16 @@ class ClassicalMixin(BasePSHAMixin):
:param sites: the sites of which the curve will be serialized
:type sites: li... | the sleep duration of the (classical PSHA) results collector is now flexible
Former-commit-id: f6bf7d<I>f3d<I>e<I>eebea<I>ab<I>cd5a<I>c1 | gem_oq-engine | train |
c5545d151969b66f87cda3feee98d12b45638bed | diff --git a/src/DocBlock/Tags/Method.php b/src/DocBlock/Tags/Method.php
index <HASH>..<HASH> 100644
--- a/src/DocBlock/Tags/Method.php
+++ b/src/DocBlock/Tags/Method.php
@@ -218,6 +218,7 @@ final class Method extends BaseTag implements Factory\StaticMethod
$argument['type'] = new Void_();
... | Adds sort to order expected keys
Without this sort the order of argument name and type matter. But
we accually don't care about the order. Only name and type are allowed
but the order doesn't matter. | phpDocumentor_ReflectionDocBlock | train |
40baf24eb1a56743e99734908d2b6ce1a32c253f | diff --git a/_state.go b/_state.go
index <HASH>..<HASH> 100644
--- a/_state.go
+++ b/_state.go
@@ -1031,7 +1031,7 @@ func (ls *LState) getField(obj LValue, key LValue) LValue {
metaindex := ls.metaOp1(curobj, "__index")
if metaindex == LNil {
if !istable {
- ls.RaiseError("attempt to index a non-table obje... | improve error message when indexing non-table
when indexing a non-table object, it was sometimes hard to
understand missing key errors:
eg.
a.b.c = 5
> error was "attempt to index a non-table object(nil)"
was 'a' nil or 'a.b' nil?
now the error is:
> error was "attempt to index a non-table object(nil) with key 'b'" | yuin_gopher-lua | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.