hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
1b27c38a2b308ecb2f6e97ef36a066e7bc16416f | diff --git a/tests/integration/states/test_pkg.py b/tests/integration/states/test_pkg.py
index <HASH>..<HASH> 100644
--- a/tests/integration/states/test_pkg.py
+++ b/tests/integration/states/test_pkg.py
@@ -673,7 +673,7 @@ class PkgTest(ModuleCase, SaltReturnAssertsMixin):
self.assertIn(tag, ret)
... | making searching ret comment more generic for other OSes | saltstack_salt | train |
082fc1c2b1174f8bcf65e3c151ffa422b034f1a3 | diff --git a/extension/scripts/lib/scripts.js b/extension/scripts/lib/scripts.js
index <HASH>..<HASH> 100644
--- a/extension/scripts/lib/scripts.js
+++ b/extension/scripts/lib/scripts.js
@@ -146,7 +146,7 @@ Scripts.prototype._defineEntities = function () {
});
this.reporter.documentStore.model.entityTypes["... | fixing last bugs for release <I> | jsreport_jsreport-scripts | train |
66b839f24d79e2f0f6c36878be2ce00ddc010a7c | diff --git a/JSAT/src/jsat/classifiers/DataPoint.java b/JSAT/src/jsat/classifiers/DataPoint.java
index <HASH>..<HASH> 100644
--- a/JSAT/src/jsat/classifiers/DataPoint.java
+++ b/JSAT/src/jsat/classifiers/DataPoint.java
@@ -1,9 +1,13 @@
package jsat.classifiers;
+import java.util.Arrays;
import jsat.linear.Vec;
... | Added document comments
Added copy method
Spruced up the set weight and toString methods
git-svn-id: <URL> | EdwardRaff_JSAT | train |
999c529266a37faae5aeab20e58c028d62916022 | diff --git a/go/vt/vtgate/planbuilder/abstract/queryprojection_test.go b/go/vt/vtgate/planbuilder/abstract/queryprojection_test.go
index <HASH>..<HASH> 100644
--- a/go/vt/vtgate/planbuilder/abstract/queryprojection_test.go
+++ b/go/vt/vtgate/planbuilder/abstract/queryprojection_test.go
@@ -104,7 +104,8 @@ func TestQP(t... | improve the Gen4NotSupportedF error | vitessio_vitess | train |
4addb67df361c0947e86cc567dad0261de27a63e | diff --git a/eZ/Publish/Core/IO/UrlDecorator/AbsolutePrefix.php b/eZ/Publish/Core/IO/UrlDecorator/AbsolutePrefix.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/Core/IO/UrlDecorator/AbsolutePrefix.php
+++ b/eZ/Publish/Core/IO/UrlDecorator/AbsolutePrefix.php
@@ -38,7 +38,11 @@ class AbsolutePrefix implements UrlDecorat... | EZP-<I>: Implemented UrlRedecorator in legacy image converter | ezsystems_ezpublish-kernel | train |
4d2c2f2c6048d7a0313f2509adb35eca2c6420b8 | diff --git a/scss.py b/scss.py
index <HASH>..<HASH> 100644
--- a/scss.py
+++ b/scss.py
@@ -1405,7 +1405,11 @@ import operator
import colorsys
try:
- from PIL import Image
+ import cStringIO as StringIO
+except:
+ import StringIO
+try:
+ from PIL import Image, ImageDraw
except ImportError:
Image = ... | Added image-color() and grid-image() | Kronuz_pyScss | train |
f7bc42b9b2fdcdc5ddc6a1f8c2050bcc3a8e2709 | diff --git a/tools/test_migration.py b/tools/test_migration.py
index <HASH>..<HASH> 100755
--- a/tools/test_migration.py
+++ b/tools/test_migration.py
@@ -15,6 +15,7 @@ def load(path):
def pg_dump(to_file):
pg = subprocess.Popen(['pg_dump', '--schema-only', '-U', db_admin_user,
+ '--ex... | Exclude public schemas from the diff (suggested by angri). | gem_oq-engine | train |
5978bc4d91729c9bc0e4cd06d63bc8934394c2f1 | diff --git a/chef/lib/chef/application/knife.rb b/chef/lib/chef/application/knife.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/application/knife.rb
+++ b/chef/lib/chef/application/knife.rb
@@ -95,7 +95,7 @@ class Chef::Application::Knife < Chef::Application
:description => "Show the data after a destructive ... | CHEF-<I>: use -F FORMAT to choose Knife output format
The output format option added in <I> broke some options which also
used -f. | chef_chef | train |
c3e3ddd5ea09dd18bc300325b320d84220f4f29b | diff --git a/vasppy/__init__.py b/vasppy/__init__.py
index <HASH>..<HASH> 100644
--- a/vasppy/__init__.py
+++ b/vasppy/__init__.py
@@ -1 +1 @@
-__version__ = '0.6.0.0'
+__version__ = '0.6.1.0'
diff --git a/vasppy/scripts/vasp_summary.py b/vasppy/scripts/vasp_summary.py
index <HASH>..<HASH> 100755
--- a/vasppy/scripts/v... | Added progress bar for writing final summary | bjmorgan_vasppy | train |
d555da65ee5dfc891f1681107b6898f39c82962c | diff --git a/src/Serverfireteam/Panel/config/elfinder.php b/src/Serverfireteam/Panel/config/elfinder.php
index <HASH>..<HASH> 100644
--- a/src/Serverfireteam/Panel/config/elfinder.php
+++ b/src/Serverfireteam/Panel/config/elfinder.php
@@ -1,7 +1,5 @@
<?php
-use \Serverfireteam\Panel\libs\AppHelper;
-
return array(
... | A bug in elfinder is fixed. | serverfireteam_panel | train |
472b8e6701ae425d12e5f17fd86eda55e7991db3 | diff --git a/moco-core/src/main/java/com/github/dreamhead/moco/MocoRest.java b/moco-core/src/main/java/com/github/dreamhead/moco/MocoRest.java
index <HASH>..<HASH> 100644
--- a/moco-core/src/main/java/com/github/dreamhead/moco/MocoRest.java
+++ b/moco-core/src/main/java/com/github/dreamhead/moco/MocoRest.java
@@ -46,20... | applied any id to put, delete and head | dreamhead_moco | train |
d0062e7b1e6fd87b39aad4618c7c5f71ce252070 | diff --git a/lib/action_controller/parameters.rb b/lib/action_controller/parameters.rb
index <HASH>..<HASH> 100644
--- a/lib/action_controller/parameters.rb
+++ b/lib/action_controller/parameters.rb
@@ -46,6 +46,8 @@ module ActionController
params[filter] = self[filter] if has_key?(filter)
keys.gr... | hash filters should be accessed with symbols or strings | rails_strong_parameters | train |
87b46f185f3da96045c8ba78f8717c1b7de6647a | diff --git a/src/Template/Filter/ImageCache.php b/src/Template/Filter/ImageCache.php
index <HASH>..<HASH> 100644
--- a/src/Template/Filter/ImageCache.php
+++ b/src/Template/Filter/ImageCache.php
@@ -182,8 +182,6 @@ class ImageCache extends SimpleTemplateFilter implements SimpleTemplateFilterInt
// @TODO this _assu... | Yet another bug with rescaled images and relative paths fixed | Vectrex_vxPHP | train |
cb1831ef01137dc651bf0a21a88258a5e9344502 | diff --git a/xchange-dsx/src/main/java/org/knowm/xchange/dsx/service/DSXTradeService.java b/xchange-dsx/src/main/java/org/knowm/xchange/dsx/service/DSXTradeService.java
index <HASH>..<HASH> 100644
--- a/xchange-dsx/src/main/java/org/knowm/xchange/dsx/service/DSXTradeService.java
+++ b/xchange-dsx/src/main/java/org/know... | [dsx] fixed dsxIrder creating | knowm_XChange | train |
fde2b486328e9939a1bb86e7276d02ea46d4b83a | diff --git a/safe_qgis/report/test/test_html_renderer.py b/safe_qgis/report/test/test_html_renderer.py
index <HASH>..<HASH> 100644
--- a/safe_qgis/report/test/test_html_renderer.py
+++ b/safe_qgis/report/test/test_html_renderer.py
@@ -140,7 +140,7 @@ class HtmlRendererTest(unittest.TestCase):
13965, # as ... | Fixed failing tests on ub<I> since version update. | inasafe_inasafe | train |
b3960b16d6bb238aaef5a686c069a127a87120e4 | diff --git a/sdk/eventgrid/azure-eventgrid/CHANGELOG.md b/sdk/eventgrid/azure-eventgrid/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/sdk/eventgrid/azure-eventgrid/CHANGELOG.md
+++ b/sdk/eventgrid/azure-eventgrid/CHANGELOG.md
@@ -7,6 +7,7 @@
**Bug Fixes**
- `EventGridEvent` has two additional required positi... | Raise on bad credential (#<I>) | Azure_azure-sdk-for-python | train |
1fb2c6f63527408c8dbb00d6483ee6cf677db2df | diff --git a/actionmailer/test/old_base/url_test.rb b/actionmailer/test/old_base/url_test.rb
index <HASH>..<HASH> 100644
--- a/actionmailer/test/old_base/url_test.rb
+++ b/actionmailer/test/old_base/url_test.rb
@@ -4,8 +4,10 @@ require 'action_controller'
class WelcomeController < ActionController::Base
end
+AppRou... | Get ActionMailer's tests passing with the non global router | rails_rails | train |
5ee95bffdd1b014935d6f61bb66e974fbc014ede | diff --git a/aws/resource_aws_iam_saml_provider_test.go b/aws/resource_aws_iam_saml_provider_test.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_iam_saml_provider_test.go
+++ b/aws/resource_aws_iam_saml_provider_test.go
@@ -102,6 +102,7 @@ func TestAccAWSIAMSamlProvider_tags(t *testing.T) {
resource.Parallel... | Update aws/resource_aws_iam_saml_provider_test.go | terraform-providers_terraform-provider-aws | train |
77b9077d9de1f93317ddc1aed4cb90f9348193f7 | diff --git a/store/store.go b/store/store.go
index <HASH>..<HASH> 100644
--- a/store/store.go
+++ b/store/store.go
@@ -115,7 +115,7 @@ func (s *Store) Open(enableSingle bool) error {
return nil
}
-func (s *Store) Execute(queries []string, tx bool) ([]sql.Result, error) {
+func (s *Store) Execute(queries []string, ... | Pass Execute results up
Doesn't compile. | rqlite_rqlite | train |
fde185d0dfb5ecac6e6b201e8855da798ebcd76f | diff --git a/panicwrap.go b/panicwrap.go
index <HASH>..<HASH> 100644
--- a/panicwrap.go
+++ b/panicwrap.go
@@ -16,6 +16,7 @@ import (
"os"
"os/exec"
"os/signal"
+ "runtime"
"sync/atomic"
"syscall"
"time"
@@ -151,7 +152,13 @@ func Wrap(c *WrapConfig) (int, error) {
cmd.Stdin = os.Stdin
cmd.Stdout = stdou... | Don't pass ExtraFiles on Windows | mitchellh_panicwrap | train |
848fed094aa1456b6062e193c4385b835f2b2f43 | diff --git a/vtki/plotting.py b/vtki/plotting.py
index <HASH>..<HASH> 100644
--- a/vtki/plotting.py
+++ b/vtki/plotting.py
@@ -842,6 +842,8 @@ class BasePlotter(object):
# Scalar formatting ===================================================
if cmap is None:
+ cmap = kwargs.get('colormap'... | Allow colormap alias for cmap | vtkiorg_vtki | train |
322390cd9168998f245beb692331377316437a1c | diff --git a/poem-jvm/backend/src/main/java/org/b3mn/poem/servlets/PdfRenderer.java b/poem-jvm/backend/src/main/java/org/b3mn/poem/servlets/PdfRenderer.java
index <HASH>..<HASH> 100644
--- a/poem-jvm/backend/src/main/java/org/b3mn/poem/servlets/PdfRenderer.java
+++ b/poem-jvm/backend/src/main/java/org/b3mn/poem/servlet... | Pdf-filename fixed, public write in testdata for local testing, some changes in migration of python functions for easy integration
git-svn-id: <URL> | kiegroup_jbpm-designer | train |
ad8ffd5ae43090c88347c610702c26cbc961214a | diff --git a/service-pusher/src/main/java/info/bitrich/xchangestream/service/pusher/PusherStreamingService.java b/service-pusher/src/main/java/info/bitrich/xchangestream/service/pusher/PusherStreamingService.java
index <HASH>..<HASH> 100644
--- a/service-pusher/src/main/java/info/bitrich/xchangestream/service/pusher/Pu... | Fixing implementation in order to support new pusher version <I> | knowm_XChange | train |
9afa4c0ffce76dfd023146460bd61e7dce47bbd6 | diff --git a/Collection.php b/Collection.php
index <HASH>..<HASH> 100755
--- a/Collection.php
+++ b/Collection.php
@@ -192,7 +192,7 @@ class Collection implements ArrayAccess, Arrayable, Countable, IteratorAggregate
*/
public function flatten()
{
- return new static(array_flatten($this->items));
... | [<I>] Use Illuminate\Support\Arr::x() instead of the alias array_x() | illuminate_support | train |
36c865520e27c8488100c646dae0a0ebd2736baa | diff --git a/lib/ruote/exp/fe_participant.rb b/lib/ruote/exp/fe_participant.rb
index <HASH>..<HASH> 100644
--- a/lib/ruote/exp/fe_participant.rb
+++ b/lib/ruote/exp/fe_participant.rb
@@ -155,6 +155,7 @@ module Ruote::Exp
@context.storage.put_task(
'dispatch',
+ 'fei' => h.fei,
'partici... | emitting fei when dispatching workitem | jmettraux_ruote | train |
1407e27d1cf291dcf7722996a9e9947277d065eb | diff --git a/lib/heroics/client.rb b/lib/heroics/client.rb
index <HASH>..<HASH> 100644
--- a/lib/heroics/client.rb
+++ b/lib/heroics/client.rb
@@ -70,8 +70,7 @@ module Heroics
# is no caching.
# @return [Client] A client with resources and links from the JSON schema.
def self.oauth_client_from_schema(oauth... | - OAuth tokens are now correctly passed using Bearer authentication. | interagent_heroics | train |
a897701cebf80d9ffb780cd4ed18495f6bbaa911 | diff --git a/src/Throttling/LeakyBucketStrategy.php b/src/Throttling/LeakyBucketStrategy.php
index <HASH>..<HASH> 100644
--- a/src/Throttling/LeakyBucketStrategy.php
+++ b/src/Throttling/LeakyBucketStrategy.php
@@ -128,10 +128,6 @@ class LeakyBucketStrategy implements ThrottlingStrategyInterface {
$timestamp = $time... | improve LeakyBucket tests | beheh_flaps | train |
578bf95ea16ba02044cb007d3e355f17921d74e2 | diff --git a/app/models/katello/host/subscription_facet.rb b/app/models/katello/host/subscription_facet.rb
index <HASH>..<HASH> 100644
--- a/app/models/katello/host/subscription_facet.rb
+++ b/app/models/katello/host/subscription_facet.rb
@@ -217,7 +217,7 @@ module Katello
if ignore_os?(host.operatingsystem, r... | Refs #<I> - Clean up deprecated method call
Host#import_facts was replaced by HostFactImporter#import_facts. | Katello_katello | train |
9d19de1bb553670cd9fcc795d8fd4734ad8f4d88 | diff --git a/helpers/obj-store.js b/helpers/obj-store.js
index <HASH>..<HASH> 100644
--- a/helpers/obj-store.js
+++ b/helpers/obj-store.js
@@ -10,7 +10,6 @@ import {CAG} from '../csg';
// define the basic OBJ
////////////////////////////////////////////
var OBJ = function() {
-console.log('OBJ()');
};
OBJ.... | Added loadPrevious(objectid,object)
Enhanced to support CSG objects | jscad_csg.js | train |
76567a9fb146c8066d568d77453ef19718786ce7 | diff --git a/openquake/commonlib/export/hazard.py b/openquake/commonlib/export/hazard.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/export/hazard.py
+++ b/openquake/commonlib/export/hazard.py
@@ -525,13 +525,13 @@ def export_hmaps_xml_json(ekey, dstore):
gsimlt_path = ''
maps = hmaps[ki... | Fixed export_hmaps_xml_json | gem_oq-engine | train |
0f54cbc8e4d34e10dbc60e432f6baff82efe8d4a | diff --git a/txzmq/connection.py b/txzmq/connection.py
index <HASH>..<HASH> 100644
--- a/txzmq/connection.py
+++ b/txzmq/connection.py
@@ -150,7 +150,6 @@ class ZmqConnection(object):
L{error.ConnectionDone} are of special note, but the
failure may be of other classes as ... | Remove log.err on connectionLost: no real value.
Just spamming with errors messages on reactor shutdown. | smira_txZMQ | train |
ae71872fa97b50fd85ef8efe4b8d0b2a362bd6f7 | diff --git a/test/test_encryption.py b/test/test_encryption.py
index <HASH>..<HASH> 100644
--- a/test/test_encryption.py
+++ b/test/test_encryption.py
@@ -61,6 +61,7 @@ from pymongo.cursor import CursorType
from pymongo.encryption import Algorithm, ClientEncryption, QueryType
from pymongo.encryption_options import _H... | PYTHON-<I> Test auto decryption occurs after CommandSucceeded events (#<I>) | mongodb_mongo-python-driver | train |
e0fa432c2f9e0abeebf7ce80b9031b9251d3470b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,6 @@ setup(
include_package_data=True,
install_requires=['UW-RestClients-Core<1.0',
'UW-RestClients-SWS<2.0',
- 'UW-RestClients-PWS<1.0',
'... | remove dependency of uw_pws | uw-it-aca_uw-restclients-bookstore | train |
f137da23588d07cdecc3b7b76c718a02851c14f8 | diff --git a/plugins/discovery/discovery.go b/plugins/discovery/discovery.go
index <HASH>..<HASH> 100644
--- a/plugins/discovery/discovery.go
+++ b/plugins/discovery/discovery.go
@@ -290,10 +290,12 @@ func (c *Discovery) processBundle(ctx context.Context, b *bundleApi.Bundle) (*pl
return nil, err
}
- for key, kc... | plugins/discovery: Check for empty key config
Currently OPA allows users to use unsigned discovery
bundles that themselves point to signed service bundles.
The discovery plugin checks if the keys in the service bundle
do not update those in the boot config. It's possible that
the signing config in the discovery object... | open-policy-agent_opa | train |
62b49dcb5a5294d80d4bd5516adeee5fd272996b | diff --git a/src/expressions.js b/src/expressions.js
index <HASH>..<HASH> 100644
--- a/src/expressions.js
+++ b/src/expressions.js
@@ -31,10 +31,10 @@ Expression.prototype.add = function(a) {
copy.constant = copy.constant.add(a.constant);
var newTerms = a.copy().terms;
- for (i = 0; i < copy.... | Refactor expressions:
* use var i in for loop
* don't make another copy when removing term from expression | nicolewhite_algebra.js | train |
e8604dd954c498b52a586d8cfab9e98631b97b60 | diff --git a/src/BinarySearchTree.php b/src/BinarySearchTree.php
index <HASH>..<HASH> 100644
--- a/src/BinarySearchTree.php
+++ b/src/BinarySearchTree.php
@@ -25,11 +25,13 @@ interface BinarySearchTree extends \Countable, Enumerable {
/**
* @param mixed $element
+ * @return void
*/
function ... | Documentation: declared no return type for add and remove. | morrisonlevi_Ardent | train |
bedb2693e20c15f3f7397fb05925ff334669d491 | diff --git a/src/pymop/pymop/io/astrom.py b/src/pymop/pymop/io/astrom.py
index <HASH>..<HASH> 100644
--- a/src/pymop/pymop/io/astrom.py
+++ b/src/pymop/pymop/io/astrom.py
@@ -31,6 +31,12 @@ DETECTOR = "DETECTOR"
PHADU = "PHADU"
RDNOIS = "RDNOIS"
+# System header keys
+RMIN = "RMIN"
+RMAX = "RMAX"
+ANGLE = "ANGLE"
+... | Implemented writing system header for astrom file. | OSSOS_MOP | train |
a34476c17887788775f95cf8e1382a4018f9f779 | diff --git a/lib/compel/builder/any.rb b/lib/compel/builder/any.rb
index <HASH>..<HASH> 100644
--- a/lib/compel/builder/any.rb
+++ b/lib/compel/builder/any.rb
@@ -7,22 +7,6 @@ module Compel
super(Coercion::Any)
end
- def if(lambda = nil, &block)
- value = \
- if lambda && lambda.i... | fix validation bug on #length, custom validations and <I> build fix | joaquimadraz_compel | train |
235864a1fcc5d871d584dcd8eeeeaded4f6572c9 | diff --git a/sqlparse/filters.py b/sqlparse/filters.py
index <HASH>..<HASH> 100644
--- a/sqlparse/filters.py
+++ b/sqlparse/filters.py
@@ -171,8 +171,12 @@ class ReindentFilter(Filter):
if prev and prev.is_whitespace():
tlist.tokens.pop(tlist.token_index(prev))
offset += 1... | Avoid duplicate linebreaks when reformatting (targets issue3). | andialbrecht_sqlparse | train |
29b10392ad5c08da051696a0f86402d7b5f7fd71 | diff --git a/ext/RMagick/extconf.rb b/ext/RMagick/extconf.rb
index <HASH>..<HASH> 100644
--- a/ext/RMagick/extconf.rb
+++ b/ext/RMagick/extconf.rb
@@ -358,7 +358,7 @@ module RMagick
$defs = []
# Force re-compilation if the generated Makefile changed.
- $config_h = 'Makefile rmagick.h'
+ $confi... | CI: Remove rmagick.h from forced recompile checking (#<I>) | rmagick_rmagick | train |
38fd73104b1620142ebdeae364b7cb8fb89918f0 | diff --git a/src/main/java/com/github/zk1931/jzab/SimpleLog.java b/src/main/java/com/github/zk1931/jzab/SimpleLog.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/zk1931/jzab/SimpleLog.java
+++ b/src/main/java/com/github/zk1931/jzab/SimpleLog.java
@@ -165,6 +165,7 @@ public class SimpleLog implements Log... | Fix the bug of SimpleLog found in jepsen test. | zk1931_jzab | train |
8776c3c6b0b8878244a857664181f333914294b7 | diff --git a/tests/test_graphs.py b/tests/test_graphs.py
index <HASH>..<HASH> 100644
--- a/tests/test_graphs.py
+++ b/tests/test_graphs.py
@@ -1,5 +1,8 @@
import pytest
+
from pickle import dumps,loads,HIGHEST_PROTOCOL
+pickler = lambda x: dumps(x,HIGHEST_PROTOCOL)
+
from grandalf.graphs import *
def test_verte... | use global pickler and add more graph_core pickle testing | bdcht_grandalf | train |
1bbe45b58d72ec20a8493e25c4e3ef0422447408 | diff --git a/lib/puppetserver/ca/local_certificate_authority.rb b/lib/puppetserver/ca/local_certificate_authority.rb
index <HASH>..<HASH> 100644
--- a/lib/puppetserver/ca/local_certificate_authority.rb
+++ b/lib/puppetserver/ca/local_certificate_authority.rb
@@ -1,5 +1,6 @@
require 'puppetserver/ca/host'
require 'pup... | (maint) refactor http_client spec | puppetlabs_puppetserver-ca-cli | train |
90c55995f12468112054ba0acd1fd6e9590199d7 | diff --git a/src/user.js b/src/user.js
index <HASH>..<HASH> 100644
--- a/src/user.js
+++ b/src/user.js
@@ -64,7 +64,7 @@ User.prototype.localStorage = function (options) {
options || (options = {});
defaults(options, {
- key : 'ajs_user_traits',
+ key : 'ajs_user_traits'
});
this.localStorageO... | user: remove trailing comma | segmentio_analytics.js-core | train |
f1f75696f60ac10c3d258ec284b1e2c45970e56a | diff --git a/lib/draggable.js b/lib/draggable.js
index <HASH>..<HASH> 100644
--- a/lib/draggable.js
+++ b/lib/draggable.js
@@ -224,6 +224,12 @@ module.exports = React.createClass({
onStop: React.PropTypes.func
},
+ componentWillUnmount: function() {
+ // Remove any leftover event handlers
+ removeEvent(window,... | Ensure event handlers are destroyed on unmount.
These can be left over if, for instance, the draggable item has a 'close' button which
closes on mousedown. | bokuweb_react-draggable-custom | train |
50ca669149b0c4a92f10c5a33cd71aeae500c16b | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -155,7 +155,7 @@ describe('chai-immutable (' + typeEnv + ')', function () {
// }
fail(function () {
expect(actual).to.equal(expected);
- }, 'AssertionError: expected { Objec... | Fix tests around AssertionError messages | astorije_chai-immutable | train |
3af666425d55298c52634f298872e064c85e0e44 | diff --git a/metpy/plots/skewt.py b/metpy/plots/skewt.py
index <HASH>..<HASH> 100644
--- a/metpy/plots/skewt.py
+++ b/metpy/plots/skewt.py
@@ -251,7 +251,7 @@ class SkewT(object):
"""
- def __init__(self, fig=None, rotation=30, subplot=None, rect=None):
+ def __init__(self, fig=None, rotation=30, subplot... | ENH: Control aspect ratio for SkewT plots (Fixes #<I>)
Now that we have our transform figured out better, we can leverage
matplotlib's support for locking down the aspect ratio (though this only
works with log scaling on Matplotlib >= <I>). This adds an option to
control it and sets a default value that matches NWS pl... | Unidata_MetPy | train |
844c91c5cd547fbae57014c2b3967cb0a8574680 | diff --git a/mount.go b/mount.go
index <HASH>..<HASH> 100644
--- a/mount.go
+++ b/mount.go
@@ -48,6 +48,11 @@ var fTempDirLimit = flag.Int64(
"A desired limit on the number of bytes used in --temp_dir. May be exceeded "+
"for dirty files that have not been flushed or closed.")
+var fGCSChunkSize = flag.Uint64(
+... | Added a flag, defaulting to <I> MiB. | jacobsa_ratelimit | train |
ba95d227cf8562670c58c432bde2f171b02e879a | diff --git a/rio_tiler/io/cogeo.py b/rio_tiler/io/cogeo.py
index <HASH>..<HASH> 100644
--- a/rio_tiler/io/cogeo.py
+++ b/rio_tiler/io/cogeo.py
@@ -172,11 +172,6 @@ class COGReader(BaseReader):
"""Return band description."""
return self.dataset.descriptions[ix - 1] or ""
- indexes = se... | add more info in COGReader.info() (#<I>)
* add more info in COGReader.info()
* make sure metadata model forward additional entries | cogeotiff_rio-tiler | train |
2e40cdf2dc6cc3182a47c22173522983df5c1c99 | diff --git a/src/Composer/Command/InitCommand.php b/src/Composer/Command/InitCommand.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Command/InitCommand.php
+++ b/src/Composer/Command/InitCommand.php
@@ -48,12 +48,6 @@ class InitCommand extends BaseCommand
{
use PackageDiscoveryTrait;
- // Properties for ... | Clean up properties that belong in PackageDiscoveryTrait | composer_composer | train |
3d97e599d480c90be642bd33d097575ea947dae7 | diff --git a/canmatrix/xls.py b/canmatrix/xls.py
index <HASH>..<HASH> 100644
--- a/canmatrix/xls.py
+++ b/canmatrix/xls.py
@@ -330,6 +330,7 @@ def load(file, **options):
else:
motorolaBitFormat = "msbreverse"
+ additionalInputs = dict()
wb = xlrd.open_workbook(file_contents=file.read())
sh ... | xls reader now supports additinal attributes.
(#<I>, #<I>) | ebroecker_canmatrix | train |
f440b36a675b752d1f3c680469f432f8a5fcabd9 | diff --git a/tests/test_session.py b/tests/test_session.py
index <HASH>..<HASH> 100644
--- a/tests/test_session.py
+++ b/tests/test_session.py
@@ -145,13 +145,13 @@ def test_show_option_unknown(session):
def test_show_option_ambiguous(session):
"""Session.show_option raises AmbiguousOption for ambiguous option.""... | use default- as an ambiguous argument example
as of tmux <I>, there is only one command prefixed with bell-, so it's
not going to raise the ambiguous message to trigger raising it | tmux-python_libtmux | train |
55f8533042bc51d6743d496023be624bec2d5834 | diff --git a/src/components/NumberInput/NumberInput.js b/src/components/NumberInput/NumberInput.js
index <HASH>..<HASH> 100644
--- a/src/components/NumberInput/NumberInput.js
+++ b/src/components/NumberInput/NumberInput.js
@@ -9,7 +9,7 @@ export default class NumberInput extends Component {
disabled: PropTypes.boo... | Adopt tooltip (#<I>)
* fix(datepicker): unknown prop on div tag (#<I>)
* fix(datepicker): unknown prop on div tag
* fix(datepicker): assign all props to const except other
* fix(tooltip): Change the property from string to node for NumberInput, Select,TextArea, TextInput | carbon-design-system_carbon-components | train |
9560cc57efa28e4e8cb951f4b6e9bc9f9c1747fc | diff --git a/blocks/diff/diff__tools.js b/blocks/diff/diff__tools.js
index <HASH>..<HASH> 100644
--- a/blocks/diff/diff__tools.js
+++ b/blocks/diff/diff__tools.js
@@ -433,7 +433,12 @@ define([
* @return {string}
*/
d.getAnimationUniqueName = function(animationName) {
- if (!d.animationIDCounter_) {
+ i... | Minor changes in animations utility methods.
Former-commit-id: <I>a<I>f<I>bb<I>b<I>c4aeb7d<I>ce3c<I> | JetBrains_ring-ui | train |
c17801202ad33f55c53e31580bc7fe50852e712c | diff --git a/eval.go b/eval.go
index <HASH>..<HASH> 100644
--- a/eval.go
+++ b/eval.go
@@ -12,6 +12,9 @@ import (
"github.com/pkg/errors"
)
+var helperContextKind = reflect.ValueOf(HelperContext{}).Kind().String()
+var mapKind = reflect.ValueOf(map[string]interface{}{}).Kind().String()
+
type evalVisitor struct {... | improved method calls to take a map if asked for | gobuffalo_velvet | train |
bbe880c0a2c80a97196f699d68ef11b1b866c7c1 | diff --git a/tools/run_tests/run_xds_tests.py b/tools/run_tests/run_xds_tests.py
index <HASH>..<HASH> 100755
--- a/tools/run_tests/run_xds_tests.py
+++ b/tools/run_tests/run_xds_tests.py
@@ -579,17 +579,26 @@ def test_round_robin(gcp, backend_service, instance_group):
threshold = 1
wait_until_all_rpcs_go_to_g... | Account for empty EDS update in test_round_robin | grpc_grpc | train |
aaaf92b8836b0ae30bbcdb1b62e69812ea67da22 | diff --git a/nodeconductor/server/base_settings.py b/nodeconductor/server/base_settings.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/server/base_settings.py
+++ b/nodeconductor/server/base_settings.py
@@ -25,6 +25,8 @@ MEDIA_URL = '/media/'
ALLOWED_HOSTS = []
+SERIALIZATION_MODULES = {'gm2mjson': 'gm2m.seria... | Add serialization modules to base_settings (NC-<I>) | opennode_waldur-core | train |
141b5c6108c68776a1857999678451a94753874d | diff --git a/lib/how_is/chart.rb b/lib/how_is/chart.rb
index <HASH>..<HASH> 100644
--- a/lib/how_is/chart.rb
+++ b/lib/how_is/chart.rb
@@ -4,6 +4,7 @@ class HowIs::Chart
end
def self.rotate(offset, filename)
+ return unless on_windows?
ps_rotate_flip = {
90 => 'Rotate90FlipNone',
180 => '... | Chart: try nothing unless on Windows | duckinator_inq | train |
10173e65253860457ec2f14d529e7be1e9a85e28 | diff --git a/src/Illuminate/Foundation/Http/FormRequest.php b/src/Illuminate/Foundation/Http/FormRequest.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Foundation/Http/FormRequest.php
+++ b/src/Illuminate/Foundation/Http/FormRequest.php
@@ -78,7 +78,7 @@ class FormRequest extends Request implements ValidatesWhenR... | Update FormRequest.php
Custom attribute names for form requests | laravel_framework | train |
faaa3c542d84759b7eb270a2c980c0a719740ff1 | diff --git a/controllers/socket/internal/handler/lobby.go b/controllers/socket/internal/handler/lobby.go
index <HASH>..<HASH> 100644
--- a/controllers/socket/internal/handler/lobby.go
+++ b/controllers/socket/internal/handler/lobby.go
@@ -29,7 +29,7 @@ func LobbyCreate(_ *wsevent.Server, so *wsevent.Client, data string... | LobbyCreate: Use 6s, and 4v4 | TF2Stadium_Helen | train |
59218dd25c615fa76843c58491c4cb706468439f | diff --git a/labware/grid.py b/labware/grid.py
index <HASH>..<HASH> 100644
--- a/labware/grid.py
+++ b/labware/grid.py
@@ -27,19 +27,27 @@ def normalize_position(position):
the application.
"""
+ # Check and pass through if we've already normalized the tuple.
if isinstance(position, tuple) and len(p... | Grid: More test cases; swapped row/col in exception strings. | Opentrons_opentrons | train |
1e5dab5a6c3229877f225ba46f5f6ce4bc6be2ba | diff --git a/util/pkg/vfs/context.go b/util/pkg/vfs/context.go
index <HASH>..<HASH> 100644
--- a/util/pkg/vfs/context.go
+++ b/util/pkg/vfs/context.go
@@ -132,7 +132,7 @@ func (c *VFSContext) readHttpLocation(httpURL string, httpHeaders map[string]str
}
if response.StatusCode == 404 {
// We retry on 404s in c... | Actually retry on HTTP <I>s
We were returning the "don't retry" value (true).
Also tidy up the logic a little. | kubernetes_kops | train |
5707d50c0798785ffd4dc18cc48ae440d46da225 | diff --git a/benelux.gemspec b/benelux.gemspec
index <HASH>..<HASH> 100644
--- a/benelux.gemspec
+++ b/benelux.gemspec
@@ -24,14 +24,17 @@
Rakefile
benelux.gemspec
lib/benelux.rb
+ lib/benelux/count.rb
lib/benelux/mark.rb
+ lib/benelux/mixins/symbol.rb
lib/benelux/mixins/thread.rb
+ lib/benelux/packer... | Fixed Timeline#+ (add counts) | delano_benelux | train |
27f42fb5e1bc841f93a70f4785d975ca978df6f3 | diff --git a/scapy.py b/scapy.py
index <HASH>..<HASH> 100755
--- a/scapy.py
+++ b/scapy.py
@@ -21,6 +21,9 @@
#
# $Log: scapy.py,v $
+# Revision 1.0.0.6 2005/08/10 19:53:19 pbi
+# - fix problem in declaraion of answering machine functions
+#
# Revision 1.0.0.5 2005/08/10 15:43:03 pbi
# - added resolution of nu... | - fix problem in declaraion of answering machine functions | secdev_scapy | train |
828426f72e095db6da333bd7bebffa559c0cd1a1 | diff --git a/cloudvolume/__init__.py b/cloudvolume/__init__.py
index <HASH>..<HASH> 100644
--- a/cloudvolume/__init__.py
+++ b/cloudvolume/__init__.py
@@ -1,5 +1,6 @@
from .connectionpools import ConnectionPool
from .cloudvolume import CloudVolume
+from .lib import Bbox
from .provenance import DataLayerProvenance
f... | Bbox Upgrades (#<I>)
* feat: promote Bbox to top level package
Allow `from cloudvolume import Bbox`
* fix: make Bbox hashing work so it can be used in collections
* feat: support bbx input to __getitem__ and __setitem__ | seung-lab_cloud-volume | train |
6e18df00bd8765ac386a7e78d111b21853f369dc | diff --git a/proxmin/algorithms.py b/proxmin/algorithms.py
index <HASH>..<HASH> 100644
--- a/proxmin/algorithms.py
+++ b/proxmin/algorithms.py
@@ -86,7 +86,7 @@ def apgm(X0, prox_f, step_f, e_rel=1e-6, max_iter=1000, traceback=False):
return X, tr
-def admm(X0, prox_f, step_f, prox_g=None, step_g=None, L=N... | added Nesterov acceleration to admm | pmelchior_proxmin | train |
8ffc7e2604c8deb86d53a55d44a9ad4040ae8177 | diff --git a/src/Label/ReadModels/JSON/Repository/Doctrine/DBALReadRepository.php b/src/Label/ReadModels/JSON/Repository/Doctrine/DBALReadRepository.php
index <HASH>..<HASH> 100644
--- a/src/Label/ReadModels/JSON/Repository/Doctrine/DBALReadRepository.php
+++ b/src/Label/ReadModels/JSON/Repository/Doctrine/DBALReadRepo... | III-<I> Added method to get the total items of a query on labels. | cultuurnet_udb3-php | train |
b58bbd4a74673744f81798bc636e608c2f01eb5d | diff --git a/python/rosette/api.py b/python/rosette/api.py
index <HASH>..<HASH> 100644
--- a/python/rosette/api.py
+++ b/python/rosette/api.py
@@ -24,12 +24,15 @@ import json
import base64
-
from enum import Enum
try:
from urlparse import urlparse
except ImportError:
from urllib.parse import urlparse
... | RCB-<I> - check in some code that works \(in py2, but not 3\), substituting httplib for requests\; does not support \(or ask for\) gzip. | rosette-api_java | train |
8341a858634480872600b69bbb07335f27d02d31 | diff --git a/src/main/java/org/takes/facets/fork/FkContentType.java b/src/main/java/org/takes/facets/fork/FkContentType.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/takes/facets/fork/FkContentType.java
+++ b/src/main/java/org/takes/facets/fork/FkContentType.java
@@ -83,8 +83,8 @@ public final class FkConten... | TkConsumes, TsConsumes #<I> - merged and modified code due to upstream changes | yegor256_takes | train |
b0285cb0771859cf31c8281e3592aa3f650135fc | diff --git a/lib/tmdb_party.rb b/lib/tmdb_party.rb
index <HASH>..<HASH> 100644
--- a/lib/tmdb_party.rb
+++ b/lib/tmdb_party.rb
@@ -29,15 +29,11 @@ module TMDBParty
end
def search(query)
- data = self.class.get("/Movie.search/" + default_path_items.join('/') + '/' + query)
- case data
- wh... | json is always returning an array | jduff_tmdb_party | train |
79c9ff5b3732ed36cfa4c514c80868c6812d476e | diff --git a/class/StateMachine/FlupdoCrudMachine.php b/class/StateMachine/FlupdoCrudMachine.php
index <HASH>..<HASH> 100644
--- a/class/StateMachine/FlupdoCrudMachine.php
+++ b/class/StateMachine/FlupdoCrudMachine.php
@@ -54,26 +54,7 @@ class FlupdoCrudMachine extends FlupdoMachine
}
}
} else {
- // othe... | Let FlupdoMachine be more configurable
Most options are loaded from config files now. Class does not contain
state machine diagram. | smalldb_libSmalldb | train |
df3e0eabdb59f81b0a92271ad9e63479cfaaf4da | diff --git a/browser.js b/browser.js
index <HASH>..<HASH> 100644
--- a/browser.js
+++ b/browser.js
@@ -112,9 +112,9 @@ function formatArgs() {
*/
function log() {
- // This hackery is required for IE8,
- // where the `console.log` function doesn't have 'apply'
- return console
+ // this hackery is required for... | browser: use `typeof` to check for `console` existence
It's a global, so we must check with typeof otherwise
an error will be thrown if `console` is undefined. | visionmedia_debug | train |
75562369eb806b5b0ce96570fd0a77c83dd52a20 | diff --git a/buffalo/cmd/build.go b/buffalo/cmd/build.go
index <HASH>..<HASH> 100644
--- a/buffalo/cmd/build.go
+++ b/buffalo/cmd/build.go
@@ -4,7 +4,6 @@ import (
"archive/zip"
"bytes"
"context"
- "errors"
"fmt"
"io"
"io/ioutil"
@@ -355,10 +354,10 @@ func (b *builder) buildBin() error {
// Add any additi... | Removed the errors reference and made some suggested tweaks | gobuffalo_buffalo | train |
43b26d400aab54636778ae5c6f41d61e53c219f1 | diff --git a/macroeco/main/_gui.py b/macroeco/main/_gui.py
index <HASH>..<HASH> 100644
--- a/macroeco/main/_gui.py
+++ b/macroeco/main/_gui.py
@@ -16,6 +16,7 @@ import os, sys
from threading import Thread
from multiprocessing import Process
from _main import main
+import logging
def launch():
app = wx.App(Fa... | Additional release of log file in GUI, see previous commit | jkitzes_macroeco | train |
a814454ba031dc032e1d2e625fd392a2efe4eda8 | diff --git a/source/application/components/oxlocator.php b/source/application/components/oxlocator.php
index <HASH>..<HASH> 100644
--- a/source/application/components/oxlocator.php
+++ b/source/application/components/oxlocator.php
@@ -22,6 +22,8 @@
/**
* Locator controller for: category, vendor, manufacturers and ... | deprecating class as there is no real usages (cherry picked from commit cb5de<I>) | OXID-eSales_oxideshop_ce | train |
2a47e302a5895715d46d78627a413d62f42d0fc3 | diff --git a/salt/modules/ssh.py b/salt/modules/ssh.py
index <HASH>..<HASH> 100644
--- a/salt/modules/ssh.py
+++ b/salt/modules/ssh.py
@@ -31,7 +31,7 @@ def _format_auth_line(
line = ''
if options:
line += '{0} '.format(','.join(options))
- line += '{0} {1} {2}'.format(enc, key, comment)
+ line... | Clean up formatting of the ssh authorized keys | saltstack_salt | train |
15dfe4de13909df2830ebccad7abae533708bf92 | diff --git a/classes/PodsAdmin.php b/classes/PodsAdmin.php
index <HASH>..<HASH> 100644
--- a/classes/PodsAdmin.php
+++ b/classes/PodsAdmin.php
@@ -433,6 +433,8 @@ class PodsAdmin {
if ( isset( $pod->pod_data[ 'fields' ][ 'modified' ] ) )
$manage[ 'modified' ] = $pod->pod_data[ 'fields' ][ 'modifie... | New filter pods_admin_ui_fields_podname | pods-framework_pods | train |
9d17d1d5640db3e0f45729b88c0c51143dcdaf85 | diff --git a/bin/install.js b/bin/install.js
index <HASH>..<HASH> 100644
--- a/bin/install.js
+++ b/bin/install.js
@@ -23,18 +23,10 @@ var binaryDir = path.resolve(
process.env[isWin ? 'USERPROFILE':'HOME'],
'.webdriver-sync'
);
-log("");
-log("Preparing to validate your environment.");
-log("JAVA_HOME is: "+j... | Cleaning up the install. Removin an unsed variable / function. | jsdevel_webdriver-sync | train |
3868542d92dd25167ed2553aca1462cf698686b7 | diff --git a/molgenis-app-omx/src/main/java/org/molgenis/gaf/GafListFileImporterService.java b/molgenis-app-omx/src/main/java/org/molgenis/gaf/GafListFileImporterService.java
index <HASH>..<HASH> 100644
--- a/molgenis-app-omx/src/main/java/org/molgenis/gaf/GafListFileImporterService.java
+++ b/molgenis-app-omx/src/main... | Import only if at least one run properly is validated | molgenis_molgenis | train |
6b7b1f0ba855c794c6ea2768cc56de4640f23223 | diff --git a/src/misc.js b/src/misc.js
index <HASH>..<HASH> 100644
--- a/src/misc.js
+++ b/src/misc.js
@@ -10,6 +10,7 @@ import { getCacheDir , getEnvBinDir, getEnvDir, getHomeDir } from './core';
import fs from 'fs-plus';
import path from 'path';
+import qs from 'querystringify';
import request from 'request';
i... | Add "getErrorReportUrl" to `misc` API | platformio_platformio-node-helpers | train |
46818da343cf2ca2b1b7ae2b5b81bc81ace3e6fc | diff --git a/src/Behat/MinkExtension/ServiceContainer/Driver/BrowserStackFactory.php b/src/Behat/MinkExtension/ServiceContainer/Driver/BrowserStackFactory.php
index <HASH>..<HASH> 100644
--- a/src/Behat/MinkExtension/ServiceContainer/Driver/BrowserStackFactory.php
+++ b/src/Behat/MinkExtension/ServiceContainer/Driver/B... | Added support for acceptSslCert capability in BrowserStack
Ref. #<I> | Behat_MinkExtension | train |
4de1c69b6a8e428b493306f129b4c9d1d5e9550b | diff --git a/bin/now-certs.js b/bin/now-certs.js
index <HASH>..<HASH> 100755
--- a/bin/now-certs.js
+++ b/bin/now-certs.js
@@ -108,7 +108,7 @@ if (argv.help || !subcommand) {
function formatExpirationDate(date) {
const diff = date - Date.now()
- return diff < 0 ? chalk.gray(ms(new Date(-diff)) + ' ago') : chalk.... | Improve error handling when issuing cert fails (#<I>)
Fix `now certs ls` error when showing expiration date
Improve logging for when alias creation fails | zeit_now-cli | train |
2aff9d1e43dc8f32d2ecdcabef40ede705587673 | diff --git a/client/messages/send-api/index.js b/client/messages/send-api/index.js
index <HASH>..<HASH> 100644
--- a/client/messages/send-api/index.js
+++ b/client/messages/send-api/index.js
@@ -2,63 +2,70 @@ const util = require('./util'),
payload = {};
function sendText (options) {
- if (!options) {
- c... | Adds promise rejection for send api calls | amuramoto_messenger-node | train |
712da71884b7ece45e0608f6602c04cb0bc8d668 | diff --git a/grpc/src/test/java/com/linecorp/armeria/server/grpc/GrpcServiceServerTest.java b/grpc/src/test/java/com/linecorp/armeria/server/grpc/GrpcServiceServerTest.java
index <HASH>..<HASH> 100644
--- a/grpc/src/test/java/com/linecorp/armeria/server/grpc/GrpcServiceServerTest.java
+++ b/grpc/src/test/java/com/linec... | Add test for grpc-web error case. (#<I>)
This test case exercises grpc-web with a top-level error. I don't see anything wrong with the server behavior at least for this case.
For #<I> | line_armeria | train |
66eec3e458f4ec72371d1f7d2aa63bc820f1848d | diff --git a/shared/.storybook/webpack.config.js b/shared/.storybook/webpack.config.js
index <HASH>..<HASH> 100644
--- a/shared/.storybook/webpack.config.js
+++ b/shared/.storybook/webpack.config.js
@@ -28,7 +28,8 @@ module.exports = (storybookBaseConfig, configType) => {
new webpack.NormalModuleReplacementPlugin(... | Add feature flag mocks for storybook (#<I>) | keybase_client | train |
fbd7b750bf969ae5a884cf58ae32ab952917c8c4 | diff --git a/azure-eventhubs-eph/src/main/java/com/microsoft/azure/eventprocessorhost/PartitionManager.java b/azure-eventhubs-eph/src/main/java/com/microsoft/azure/eventprocessorhost/PartitionManager.java
index <HASH>..<HASH> 100644
--- a/azure-eventhubs-eph/src/main/java/com/microsoft/azure/eventprocessorhost/Partitio... | Error logic fixes in buildRetries/store initialization (#<I>)
* Error logic fixes in buildRetries/store initialization. | Azure_azure-sdk-for-java | train |
9f9f19f7288961451b0093e92b39d04708b574a8 | diff --git a/tests/test_apps/txnid-selfcheck2/src/txnIdSelfCheck/DdlThread.java b/tests/test_apps/txnid-selfcheck2/src/txnIdSelfCheck/DdlThread.java
index <HASH>..<HASH> 100644
--- a/tests/test_apps/txnid-selfcheck2/src/txnIdSelfCheck/DdlThread.java
+++ b/tests/test_apps/txnid-selfcheck2/src/txnIdSelfCheck/DdlThread.ja... | txnid2: fix throwing 'too many ddl errors' in rejoin tests | VoltDB_voltdb | train |
209d4b9666273ed88bd50794c16f050d982ab6d3 | diff --git a/lib/vines/stanza/presence.rb b/lib/vines/stanza/presence.rb
index <HASH>..<HASH> 100644
--- a/lib/vines/stanza/presence.rb
+++ b/lib/vines/stanza/presence.rb
@@ -23,11 +23,12 @@ module Vines
end
def outbound?
- stream.class != Vines::Stream::Server
+ !inbound?
end
... | Process component stanzas at the server, rather than just forwarding them on to clients. This allows clients to subscribe to component presence updates. | negativecode_vines | train |
4bd438dfab34b37e4fc52e3f10121062dfade9bd | diff --git a/events.py b/events.py
index <HASH>..<HASH> 100644
--- a/events.py
+++ b/events.py
@@ -389,6 +389,7 @@ class Gerrit(Events):
CHANGESET_DATE = "date"
CHANGESET_OWNER = "owner"
CHANGESET_VALUE = "value"
+ CHANGESET_REPO = "repository"
def __init__(self, items):
""" Main const... | Add repository as extra info in the Gerrit eventizer | chaoss_grimoirelab-cereslib | train |
35a91ee5df5c8f64eb0cf876c8386fb847443d07 | diff --git a/lib/y2r/ast/ruby.rb b/lib/y2r/ast/ruby.rb
index <HASH>..<HASH> 100644
--- a/lib/y2r/ast/ruby.rb
+++ b/lib/y2r/ast/ruby.rb
@@ -470,11 +470,37 @@ module Y2R
class Next < Node
def to_ruby_base(context)
- "next" + (value ? " #{value.to_ruby(context.shifted(5))}" : "")
+ if !... | Ruby AST: Fix emitting of |next| with before-commented value
Before this commit, |next| statements with a value which had comment
before were emitted like this:
next
# before
<I>
This was wrong, because Ruby saw |next| and |<I>| as two separate
statements.
This commit fixes the emitting to something this:
... | yast_y2r | train |
e7db52c7105486029cd55ddbc8cd5f665994267b | diff --git a/internal/services/communication/communication_service_resource.go b/internal/services/communication/communication_service_resource.go
index <HASH>..<HASH> 100644
--- a/internal/services/communication/communication_service_resource.go
+++ b/internal/services/communication/communication_service_resource.go
@... | azurerm_communication_service - export primary_connection_string, secondary_connection_string, primary_key, secondary_key (#<I>)
Currently the azure communication services has no way to retrieve the connection strings from the created resource this PR now returns the following attributes upon resource read:
primary... | terraform-providers_terraform-provider-azurerm | train |
60a400969a3785bab7e5b73f3a3d1dfdb2d902dd | diff --git a/ApiBundle/Facade/UiModelFacade.php b/ApiBundle/Facade/UiModelFacade.php
index <HASH>..<HASH> 100644
--- a/ApiBundle/Facade/UiModelFacade.php
+++ b/ApiBundle/Facade/UiModelFacade.php
@@ -17,5 +17,10 @@ class UiModelFacade implements FacadeInterface
/**
* @Serializer\Type("string")
*/
+ p... | Add class field to uimodel | open-orchestra_open-orchestra-cms-bundle | train |
139b40d1db2c3e0c5a5bdd2807b1d9c0befb4a86 | diff --git a/.eslintrc b/.eslintrc
index <HASH>..<HASH> 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -8,7 +8,7 @@
// possible errors
"comma-dangle": [ 2 ],
"no-cond-assign": [ 2 ],
- "no-console": [ 2 ],
+ "no-console": [ 1 ],
"no-constant-condition": [ 2 ],
"no-c... | Fix linter errors, move no-console rule to warning.
Fixed the small linter errors, and also moved the no-console rule to just a warning since the deprecation warning on the express middleware is using a console.warn. | Netflix_falcor-express | train |
0418e5fcb7b8b18ad7b26ed34229120a12ada9c8 | diff --git a/addons/camel/src/main/java/io/fabric8/forge/camel/commands/project/AbstractCamelProjectCommand.java b/addons/camel/src/main/java/io/fabric8/forge/camel/commands/project/AbstractCamelProjectCommand.java
index <HASH>..<HASH> 100644
--- a/addons/camel/src/main/java/io/fabric8/forge/camel/commands/project/Abst... | Avoid NPE with file when running in web | fabric8io_fabric8-forge | train |
8b97a6658bf90ee08a4cfbe2aa66eb299973e4a2 | diff --git a/tests/test_query.py b/tests/test_query.py
index <HASH>..<HASH> 100644
--- a/tests/test_query.py
+++ b/tests/test_query.py
@@ -386,7 +386,11 @@ def test_endpoint_dispatch():
query = MyQuery(RequestFactory().get('/'))
assert '/query/gui/field/foo' == query.form().fields_by_name.foo.endpoint_path
... | Fix test cases after changes in tri.form | TriOptima_tri.query | train |
377c618083f5f1e8ca32e62dac7c51742219f861 | diff --git a/.grunt/tasks/componentlibrary.js b/.grunt/tasks/componentlibrary.js
index <HASH>..<HASH> 100644
--- a/.grunt/tasks/componentlibrary.js
+++ b/.grunt/tasks/componentlibrary.js
@@ -67,7 +67,7 @@ module.exports = grunt => {
* @returns {Object} Reference to the spawned task
*/
const docsBuild =... | MDL-<I> grunt: Fix component library grunt on Windows
Before this change grunt tried to use the Linux version of files in
node_modules/.bin rather than the Windows version which is generated
by npm.
To avoid this issue we need to run the components directly. | moodle_moodle | train |
df9758c5f1e71accd90581dd8f154278427ef38e | diff --git a/pyemma/coordinates/data/feature_reader.py b/pyemma/coordinates/data/feature_reader.py
index <HASH>..<HASH> 100644
--- a/pyemma/coordinates/data/feature_reader.py
+++ b/pyemma/coordinates/data/feature_reader.py
@@ -101,30 +101,19 @@ class FeatureReader(ReaderInterface):
# time lagged iterator
... | [coor/data/TrajInfoCache] use it as a singleton and store db in .pyemma dir. | markovmodel_PyEMMA | train |
0407574df798c8da87eb56088c0444db27ee886d | diff --git a/safe/gis/vector/prepare_vector_layer.py b/safe/gis/vector/prepare_vector_layer.py
index <HASH>..<HASH> 100644
--- a/safe/gis/vector/prepare_vector_layer.py
+++ b/safe/gis/vector/prepare_vector_layer.py
@@ -227,7 +227,7 @@ def clean_inasafe_fields(layer):
if key in expected_fields:
if ... | use definitions to create demographics fields | inasafe_inasafe | train |
aa44a4f83472538aff8cf99fc0f749af39503ba6 | diff --git a/orthopy/main.py b/orthopy/main.py
index <HASH>..<HASH> 100644
--- a/orthopy/main.py
+++ b/orthopy/main.py
@@ -36,6 +36,7 @@ import math
import numpy
# pylint: disable=no-name-in-module
from scipy.linalg.lapack import get_lapack_funcs
+import sympy
def gauss_from_coefficients(alpha, beta):
@@ -183,7... | allow sympy.Rational computation in chebyshev{_modified} | nschloe_orthopy | train |
1d5de3e0d33296f9088bfaee554b6a681a0d59ba | diff --git a/test/mime.js b/test/mime.js
index <HASH>..<HASH> 100644
--- a/test/mime.js
+++ b/test/mime.js
@@ -41,7 +41,7 @@ test('custom definition of mime-type with a .types file', function(t) {
t.plan(2);
mime.load('public/custom_mime_type.types');
- t.equal(mime.lookup('.opml'), 'application/xml');
+ t.eq... | fixed change in .types has to be reflected in unit test | jfhbrook_node-ecstatic | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.